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
- WindowsFont.cs
- MutexSecurity.cs
- SerializationAttributes.cs
- DesignColumn.cs
- XmlChoiceIdentifierAttribute.cs
- OracleParameterCollection.cs
- LambdaCompiler.Unary.cs
- DbDeleteCommandTree.cs
- ResourceDisplayNameAttribute.cs
- Matrix3D.cs
- XmlObjectSerializerContext.cs
- FixedSOMTextRun.cs
- BitmapEffectRenderDataResource.cs
- OletxTransactionFormatter.cs
- RectIndependentAnimationStorage.cs
- Main.cs
- SocketManager.cs
- StringAttributeCollection.cs
- DataRelationPropertyDescriptor.cs
- AudienceUriMode.cs
- ParameterCollectionEditorForm.cs
- TableAdapterManagerMethodGenerator.cs
- UrlAuthorizationModule.cs
- Menu.cs
- XmlBinaryReader.cs
- ScrollItemPattern.cs
- Method.cs
- Utility.cs
- RegexWriter.cs
- ImageAttributes.cs
- EditingMode.cs
- BaseAutoFormat.cs
- ToolStripGrip.cs
- ProviderException.cs
- SystemColors.cs
- ChameleonKey.cs
- ReadOnlyAttribute.cs
- PropertyOverridesTypeEditor.cs
- complextypematerializer.cs
- RectAnimationUsingKeyFrames.cs
- cookiecontainer.cs
- OleDbRowUpdatingEvent.cs
- SingleKeyFrameCollection.cs
- _NtlmClient.cs
- MissingFieldException.cs
- UpdatePanelControlTrigger.cs
- BrowserCapabilitiesCompiler.cs
- BmpBitmapDecoder.cs
- ReflectEventDescriptor.cs
- Events.cs
- InternalControlCollection.cs
- JoinCqlBlock.cs
- securitycriticaldata.cs
- Slider.cs
- ConditionalAttribute.cs
- LogReservationCollection.cs
- ProvidersHelper.cs
- WeakReferenceEnumerator.cs
- PhysicalFontFamily.cs
- HebrewNumber.cs
- TypeTypeConverter.cs
- RuleSetCollection.cs
- AppSettingsSection.cs
- PerformanceCounterPermissionEntryCollection.cs
- ThemeDirectoryCompiler.cs
- Binding.cs
- CompositeDataBoundControl.cs
- ProcessHostMapPath.cs
- IntMinMaxAggregationOperator.cs
- BrowserCapabilitiesCompiler.cs
- RayMeshGeometry3DHitTestResult.cs
- Range.cs
- FlowDocument.cs
- ConnectionPoint.cs
- TraceProvider.cs
- EntityDataSourceColumn.cs
- EventItfInfo.cs
- InkCanvasSelection.cs
- HttpDictionary.cs
- SimpleWebHandlerParser.cs
- ComponentRenameEvent.cs
- CacheAxisQuery.cs
- OdbcParameterCollection.cs
- JoinQueryOperator.cs
- MouseActionValueSerializer.cs
- OutputCacheSettings.cs
- XPathScanner.cs
- UniqueIdentifierService.cs
- MD5HashHelper.cs
- MissingSatelliteAssemblyException.cs
- TypeElementCollection.cs
- MetadataStore.cs
- LazyTextWriterCreator.cs
- ZipIOExtraFieldPaddingElement.cs
- FileRecordSequenceCompletedAsyncResult.cs
- MethodCallTranslator.cs
- TriggerBase.cs
- InvalidCastException.cs
- Types.cs
- CustomAssemblyResolver.cs