Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FrameworkTemplate.cs
- ApplicationSecurityInfo.cs
- PropertyConverter.cs
- BufferedStream.cs
- BinHexEncoder.cs
- _SpnDictionary.cs
- EpmTargetTree.cs
- XmlWrappingReader.cs
- InfoCardListRequest.cs
- SystemParameters.cs
- CopyAction.cs
- SiteMapNode.cs
- AxParameterData.cs
- BinarySerializer.cs
- Setter.cs
- ObjectIDGenerator.cs
- PolicyDesigner.cs
- ScrollPattern.cs
- TraceUtils.cs
- DataServiceExpressionVisitor.cs
- Expression.cs
- RTLAwareMessageBox.cs
- WindowsIdentity.cs
- CachedCompositeFamily.cs
- WindowsListViewItemStartMenu.cs
- BinaryUtilClasses.cs
- XmlAttributeAttribute.cs
- MultiAsyncResult.cs
- _WebProxyDataBuilder.cs
- SystemPens.cs
- SqlCrossApplyToCrossJoin.cs
- ReadOnlyCollection.cs
- SHA384Managed.cs
- ParentQuery.cs
- ProfessionalColorTable.cs
- RadioButtonPopupAdapter.cs
- DateTimeStorage.cs
- BoundField.cs
- PtsPage.cs
- DocumentPaginator.cs
- CompoundFileReference.cs
- FileLevelControlBuilderAttribute.cs
- ObjectKeyFrameCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- HttpCapabilitiesSectionHandler.cs
- HtmlElementCollection.cs
- OleDbDataAdapter.cs
- AutomationPatternInfo.cs
- CapabilitiesUse.cs
- streamingZipPartStream.cs
- WebPartRestoreVerb.cs
- CodeExpressionStatement.cs
- OneOf.cs
- UnmanagedMemoryStream.cs
- RuntimeArgument.cs
- HostSecurityManager.cs
- XhtmlTextWriter.cs
- SafeArrayTypeMismatchException.cs
- SamlAuthenticationStatement.cs
- SafeRightsManagementEnvironmentHandle.cs
- ReflectionTypeLoadException.cs
- SelectionWordBreaker.cs
- WasHostedComPlusFactory.cs
- LayoutSettings.cs
- RtfControlWordInfo.cs
- DbDataReader.cs
- ConfigurationSettings.cs
- Size.cs
- WinCategoryAttribute.cs
- DataControlFieldTypeEditor.cs
- DeviceFilterDictionary.cs
- XsltConvert.cs
- TabPageDesigner.cs
- TranslateTransform.cs
- PenThreadPool.cs
- SID.cs
- XPathSelectionIterator.cs
- ToolboxItemCollection.cs
- BufferedGraphicsContext.cs
- MeasurementDCInfo.cs
- ApplyTemplatesAction.cs
- UInt32Storage.cs
- ProgressiveCrcCalculatingStream.cs
- X509CertificateValidator.cs
- DesignerAutoFormatStyle.cs
- ConfigXmlComment.cs
- OutputWindow.cs
- Propagator.cs
- WorkflowPersistenceService.cs
- GridSplitterAutomationPeer.cs
- BaseCAMarshaler.cs
- XamlTypeMapper.cs
- BackStopAuthenticationModule.cs
- ObjectTypeMapping.cs
- BitmapEffectCollection.cs
- HashMembershipCondition.cs
- MembershipPasswordException.cs
- Claim.cs
- SchemaLookupTable.cs
- EventToken.cs