Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 1 / Attributes.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Profile { using System; using System.ComponentModel; using System.Security.Permissions; [AttributeUsage(AttributeTargets.Property)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ProfileProviderAttribute : Attribute { private string _ProviderName; public ProfileProviderAttribute(string providerName) { _ProviderName = providerName; } public string ProviderName { get { return _ProviderName; } } } [AttributeUsage(AttributeTargets.Property)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class SettingsAllowAnonymousAttribute : Attribute { private bool _Allow; public SettingsAllowAnonymousAttribute(bool allow) { _Allow = allow; } public bool Allow { get { return _Allow; } } public override bool IsDefaultAttribute() { return !_Allow; } } [AttributeUsage(AttributeTargets.Property)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class CustomProviderDataAttribute : Attribute { private string _CustomProviderData; public CustomProviderDataAttribute(string customProviderData) { _CustomProviderData = customProviderData; } public string CustomProviderData { get { return _CustomProviderData; } } public override bool IsDefaultAttribute() { return string.IsNullOrEmpty(_CustomProviderData); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableRowGroup.cs
- StructuredTypeEmitter.cs
- PropertyValueEditor.cs
- PerfProviderCollection.cs
- EntityViewGenerator.cs
- ImageDrawing.cs
- DataGridColumnFloatingHeader.cs
- XamlPoint3DCollectionSerializer.cs
- TextEffectCollection.cs
- ExcludePathInfo.cs
- SqlWriter.cs
- TemplatedWizardStep.cs
- ObjectRef.cs
- XslTransform.cs
- SymDocumentType.cs
- BitmapEffectInputConnector.cs
- NullableDoubleMinMaxAggregationOperator.cs
- CodeSnippetStatement.cs
- CodeLinePragma.cs
- StorageAssociationTypeMapping.cs
- BindingNavigator.cs
- ContentElementAutomationPeer.cs
- SerializationStore.cs
- OpenTypeLayoutCache.cs
- CompiledIdentityConstraint.cs
- Permission.cs
- DelayLoadType.cs
- EmptyControlCollection.cs
- ProcessModelSection.cs
- InkSerializer.cs
- MenuAutomationPeer.cs
- Dictionary.cs
- ExtendedPropertyInfo.cs
- SqlTypesSchemaImporter.cs
- CommentAction.cs
- XmlName.cs
- RunClient.cs
- ProxyGenerator.cs
- TextControl.cs
- ZipIOExtraFieldElement.cs
- Compiler.cs
- DataRecordObjectView.cs
- ColorConverter.cs
- DirectoryObjectSecurity.cs
- TextServicesDisplayAttribute.cs
- ColorConverter.cs
- DesigntimeLicenseContext.cs
- BrowserCapabilitiesFactory35.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- InspectionWorker.cs
- XmlNodeReader.cs
- JpegBitmapDecoder.cs
- MemoryMappedFileSecurity.cs
- SendKeys.cs
- SiteMapProvider.cs
- PersonalizationProviderCollection.cs
- ContextBase.cs
- Assert.cs
- QuaternionAnimation.cs
- Bezier.cs
- SqlBinder.cs
- DrawingContextWalker.cs
- BulletedListEventArgs.cs
- PointF.cs
- ScrollChrome.cs
- _SSPIWrapper.cs
- HtmlPageAdapter.cs
- SqlConnectionPoolProviderInfo.cs
- ItemsPanelTemplate.cs
- Table.cs
- BaseCollection.cs
- PageAdapter.cs
- _AutoWebProxyScriptWrapper.cs
- OverflowException.cs
- LocalizationParserHooks.cs
- MsmqIntegrationSecurityMode.cs
- FileUpload.cs
- OperationPickerDialog.designer.cs
- NativeWindow.cs
- UrlRoutingHandler.cs
- TypeExtensionConverter.cs
- HtmlTitle.cs
- ToolStripItemCollection.cs
- MachineKeyConverter.cs
- ToolBarTray.cs
- XmlFormatWriterGenerator.cs
- DbDataSourceEnumerator.cs
- Pkcs7Signer.cs
- DataGridViewCellStyle.cs
- KnownIds.cs
- Missing.cs
- BrushMappingModeValidation.cs
- HttpCookiesSection.cs
- RijndaelManagedTransform.cs
- RectangleConverter.cs
- VoiceInfo.cs
- EncoderBestFitFallback.cs
- TraceInternal.cs
- BindUriHelper.cs
- DBCommandBuilder.cs