Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ //// 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
- ValidationPropertyAttribute.cs
- DataException.cs
- JsonClassDataContract.cs
- Stroke.cs
- DbConvert.cs
- ExpressionLexer.cs
- ZipIOFileItemStream.cs
- ServicePointManager.cs
- SvcFileManager.cs
- InkCanvasSelection.cs
- xml.cs
- ExceptionHandlerDesigner.cs
- DrawingContext.cs
- WebColorConverter.cs
- securitycriticaldataformultiplegetandset.cs
- OutKeywords.cs
- RegistrationServices.cs
- validationstate.cs
- XmlSchemaExternal.cs
- CriticalHandle.cs
- DiscoveryEndpointValidator.cs
- UnsafeNativeMethods.cs
- GridLengthConverter.cs
- lengthconverter.cs
- ScriptingSectionGroup.cs
- _StreamFramer.cs
- ObjectViewQueryResultData.cs
- UriSchemeKeyedCollection.cs
- ContentDesigner.cs
- SByte.cs
- HitTestFilterBehavior.cs
- BamlMapTable.cs
- OverflowException.cs
- PictureBox.cs
- FacetDescriptionElement.cs
- Crypto.cs
- SessionIDManager.cs
- FrugalList.cs
- EmissiveMaterial.cs
- XPathMultyIterator.cs
- LinqDataSourceView.cs
- Authorization.cs
- EdmScalarPropertyAttribute.cs
- GrammarBuilderDictation.cs
- ProfileBuildProvider.cs
- RenderData.cs
- basecomparevalidator.cs
- SBCSCodePageEncoding.cs
- SiteIdentityPermission.cs
- ConsoleTraceListener.cs
- CryptoApi.cs
- UInt16.cs
- SocketManager.cs
- LayoutInformation.cs
- LineBreakRecord.cs
- ActivityPreviewDesigner.cs
- InnerItemCollectionView.cs
- ProviderConnectionPoint.cs
- CuspData.cs
- BatchStream.cs
- DataGridItemAutomationPeer.cs
- EventsTab.cs
- SoapConverter.cs
- Rect3DValueSerializer.cs
- TokenCreationParameter.cs
- CodeTypeReference.cs
- HtmlImage.cs
- Int16AnimationUsingKeyFrames.cs
- TextPenaltyModule.cs
- ObjectAnimationUsingKeyFrames.cs
- BitmapImage.cs
- MappingModelBuildProvider.cs
- XmlSerializerNamespaces.cs
- XmlHierarchicalEnumerable.cs
- HtmlImage.cs
- FixedElement.cs
- SqlCommand.cs
- Rotation3DAnimation.cs
- AuthenticatingEventArgs.cs
- WmlFormAdapter.cs
- ListViewGroupConverter.cs
- WindowsIdentity.cs
- FontNamesConverter.cs
- ObjectDataSourceEventArgs.cs
- NestedContainer.cs
- WebRequestModuleElement.cs
- FormsAuthenticationConfiguration.cs
- XmlIlGenerator.cs
- MiniAssembly.cs
- RewritingValidator.cs
- DataGridDetailsPresenterAutomationPeer.cs
- WebPartAddingEventArgs.cs
- SqlDataSourceSelectingEventArgs.cs
- StickyNoteHelper.cs
- ResizeGrip.cs
- SqlConnectionStringBuilder.cs
- SingleTagSectionHandler.cs
- ObjectDataSourceSelectingEventArgs.cs
- StateManagedCollection.cs
- LinkAreaEditor.cs