Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- StickyNoteAnnotations.cs
- BamlBinaryWriter.cs
- MappingMetadataHelper.cs
- ObjectNavigationPropertyMapping.cs
- AuthenticationException.cs
- TemplateControl.cs
- COMException.cs
- Int64KeyFrameCollection.cs
- SecurityUtils.cs
- Geometry3D.cs
- ContractMapping.cs
- DiagnosticTrace.cs
- Permission.cs
- MimeWriter.cs
- ListView.cs
- GenericsInstances.cs
- TextElementEditingBehaviorAttribute.cs
- OAVariantLib.cs
- ConfigXmlElement.cs
- LocatorGroup.cs
- ToolStripDropDownDesigner.cs
- LinqDataSource.cs
- IIS7WorkerRequest.cs
- Executor.cs
- AlternateView.cs
- EventSource.cs
- HTTPNotFoundHandler.cs
- FixedSOMImage.cs
- BoundPropertyEntry.cs
- MetadataCollection.cs
- PointKeyFrameCollection.cs
- Authorization.cs
- StaticSiteMapProvider.cs
- basenumberconverter.cs
- SoapIncludeAttribute.cs
- ActivityValidationServices.cs
- DataGridViewMethods.cs
- brushes.cs
- _ConnectOverlappedAsyncResult.cs
- DBConnection.cs
- ParallelForEach.cs
- LingerOption.cs
- XmlComment.cs
- SamlAuthorizationDecisionClaimResource.cs
- UriExt.cs
- SuppressMergeCheckAttribute.cs
- SetIterators.cs
- OdbcEnvironment.cs
- SqlDataSource.cs
- CompilerHelpers.cs
- XPathConvert.cs
- PerformanceCounterNameAttribute.cs
- GenericAuthenticationEventArgs.cs
- GroupBox.cs
- StateDesignerConnector.cs
- ResourceBinder.cs
- TextEndOfParagraph.cs
- RightsManagementEncryptionTransform.cs
- TraceData.cs
- ResourceContainer.cs
- SigningCredentials.cs
- DataRow.cs
- TemplatePagerField.cs
- OracleInternalConnection.cs
- EditingCommands.cs
- GeneralTransform3D.cs
- ObjectManager.cs
- Drawing.cs
- HealthMonitoringSection.cs
- OleDbPermission.cs
- FlowDocument.cs
- DataSetMappper.cs
- ExpressionCopier.cs
- DocumentViewerBase.cs
- ProviderConnectionPoint.cs
- BamlResourceDeserializer.cs
- LocationSectionRecord.cs
- DebugHandleTracker.cs
- KeyValuePairs.cs
- EndpointAddress10.cs
- TrustLevelCollection.cs
- ClaimComparer.cs
- SecurityTokenProvider.cs
- SqlNamer.cs
- XpsInterleavingPolicy.cs
- GridEntryCollection.cs
- XmlWrappingReader.cs
- AnnotationObservableCollection.cs
- OperationBehaviorAttribute.cs
- RectangleF.cs
- GroupBox.cs
- StoreItemCollection.Loader.cs
- MimeMapping.cs
- DataBindEngine.cs
- ReflectPropertyDescriptor.cs
- DataGridViewRowHeaderCell.cs
- BindingGraph.cs
- NamespaceTable.cs
- BinaryCommonClasses.cs
- SSmlParser.cs