Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 1305376 / 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)] public sealed class ProfileProviderAttribute : Attribute { private string _ProviderName; public ProfileProviderAttribute(string providerName) { _ProviderName = providerName; } public string ProviderName { get { return _ProviderName; } } } [AttributeUsage(AttributeTargets.Property)] 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)] 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HwndTarget.cs
- AsyncParams.cs
- PageThemeBuildProvider.cs
- DataTableNewRowEvent.cs
- TemplateBamlRecordReader.cs
- WindowsFormsDesignerOptionService.cs
- AttributeExtensions.cs
- GenericsInstances.cs
- WebConfigurationHost.cs
- HttpApplicationFactory.cs
- HandlerBase.cs
- ListViewContainer.cs
- _NetworkingPerfCounters.cs
- DataServiceConfiguration.cs
- DurableInstanceProvider.cs
- Image.cs
- DesignSurface.cs
- InkCanvasFeedbackAdorner.cs
- FormatPage.cs
- DataGridViewCellPaintingEventArgs.cs
- RefreshPropertiesAttribute.cs
- ConfigurationErrorsException.cs
- AttachInfo.cs
- WorkflowOperationAsyncResult.cs
- InternalDispatchObject.cs
- CreateUserErrorEventArgs.cs
- BuilderInfo.cs
- MsmqBindingMonitor.cs
- TreeNodeCollection.cs
- PeerNameRecord.cs
- RelationshipEndCollection.cs
- SpellerHighlightLayer.cs
- MarkupWriter.cs
- InteropAutomationProvider.cs
- SplitterPanel.cs
- DataRelationCollection.cs
- ResolveResponseInfo.cs
- SerializableAttribute.cs
- ScalarConstant.cs
- messageonlyhwndwrapper.cs
- CorrelationTokenInvalidatedHandler.cs
- entitydatasourceentitysetnameconverter.cs
- XamlSerializationHelper.cs
- ColorTransform.cs
- ImageResources.Designer.cs
- UIElement3D.cs
- FileNotFoundException.cs
- MetafileEditor.cs
- UniformGrid.cs
- WebBrowserNavigatedEventHandler.cs
- TextDecorationLocationValidation.cs
- MemberCollection.cs
- XhtmlBasicValidationSummaryAdapter.cs
- IntegerFacetDescriptionElement.cs
- PropertyIDSet.cs
- SortDescriptionCollection.cs
- TextCharacters.cs
- DataTableReader.cs
- FocusManager.cs
- CompiledQueryCacheKey.cs
- Compiler.cs
- MDIControlStrip.cs
- BindingBase.cs
- MonitoringDescriptionAttribute.cs
- SRef.cs
- CollectionDataContractAttribute.cs
- ToolBar.cs
- Container.cs
- Vector3DCollectionConverter.cs
- login.cs
- VScrollProperties.cs
- ShaperBuffers.cs
- FixedPosition.cs
- DbConvert.cs
- FixedLineResult.cs
- ServicePointManagerElement.cs
- Matrix3DConverter.cs
- NoClickablePointException.cs
- RawContentTypeMapper.cs
- BooleanKeyFrameCollection.cs
- GlobalEventManager.cs
- SharedDp.cs
- WebPartConnectionsCloseVerb.cs
- OutputCache.cs
- QilTypeChecker.cs
- TreeNodeStyleCollection.cs
- CapabilitiesRule.cs
- SqlAliasesReferenced.cs
- NativeObjectSecurity.cs
- ListItemCollection.cs
- MediaElement.cs
- AdPostCacheSubstitution.cs
- AttachedPropertyBrowsableAttribute.cs
- PasswordRecoveryDesigner.cs
- EntryPointNotFoundException.cs
- ProfilePropertySettings.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- EmbeddedMailObject.cs
- HtmlButton.cs
- XmlSerializationReader.cs