Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OperationParameterInfo.cs
- SHA256Managed.cs
- TreeNode.cs
- TraceSection.cs
- ObjectAnimationBase.cs
- TextTreeExtractElementUndoUnit.cs
- MultiSelector.cs
- SafeCoTaskMem.cs
- PropertyIDSet.cs
- M3DUtil.cs
- hresults.cs
- LocatorBase.cs
- StickyNoteHelper.cs
- AsymmetricKeyExchangeDeformatter.cs
- FormsAuthenticationConfiguration.cs
- FacetDescription.cs
- Overlapped.cs
- TemplateControlCodeDomTreeGenerator.cs
- SoapAttributeAttribute.cs
- SafePointer.cs
- InteropAutomationProvider.cs
- RenderData.cs
- ItemMap.cs
- StubHelpers.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- GlyphElement.cs
- SamlAuthorizationDecisionStatement.cs
- SvcFileManager.cs
- CardSpacePolicyElement.cs
- RangeValidator.cs
- CodeAttributeArgumentCollection.cs
- DynamicControl.cs
- DockingAttribute.cs
- XmlTextReader.cs
- DataGridViewRowEventArgs.cs
- Point3DValueSerializer.cs
- TaskFileService.cs
- TypeGenericEnumerableViewSchema.cs
- Ppl.cs
- FreezableCollection.cs
- SessionState.cs
- PropertyIdentifier.cs
- DbParameterHelper.cs
- MissingMemberException.cs
- CardSpacePolicyElement.cs
- QueryInterceptorAttribute.cs
- DesignerCategoryAttribute.cs
- ReadWriteObjectLock.cs
- basemetadatamappingvisitor.cs
- SoapHeaderException.cs
- WizardPanel.cs
- SingleAnimationBase.cs
- SortedDictionary.cs
- DbConnectionClosed.cs
- DataSetSchema.cs
- BamlResourceSerializer.cs
- XamlSerializer.cs
- ImpersonationContext.cs
- ContentIterators.cs
- BitHelper.cs
- CheckBoxList.cs
- httpapplicationstate.cs
- RoleService.cs
- CommandHelpers.cs
- XpsSerializerWriter.cs
- DataGridViewIntLinkedList.cs
- CodeAttributeArgumentCollection.cs
- WpfSharedBamlSchemaContext.cs
- FloatAverageAggregationOperator.cs
- DeploymentSectionCache.cs
- ShutDownListener.cs
- PrintPageEvent.cs
- DPAPIProtectedConfigurationProvider.cs
- ReadOnlyDictionary.cs
- AmbientProperties.cs
- StartUpEventArgs.cs
- ImageCollectionCodeDomSerializer.cs
- _Rfc2616CacheValidators.cs
- BoundsDrawingContextWalker.cs
- TransformedBitmap.cs
- CodeVariableReferenceExpression.cs
- PartialList.cs
- FastEncoder.cs
- FixedSOMPageElement.cs
- SelectorAutomationPeer.cs
- exports.cs
- dataprotectionpermission.cs
- MessageHeader.cs
- MethodImplAttribute.cs
- ConfigXmlAttribute.cs
- XmlFormatWriterGenerator.cs
- FixedSOMTextRun.cs
- ItemDragEvent.cs
- ResourceCodeDomSerializer.cs
- DataGridPageChangedEventArgs.cs
- DataServiceHostFactory.cs
- PageCodeDomTreeGenerator.cs
- ActivityExecutor.cs
- UrlMappingCollection.cs
- AnnotationAuthorChangedEventArgs.cs