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
- WebHttpSecurityModeHelper.cs
- HttpPostedFileBase.cs
- PrintPreviewGraphics.cs
- JulianCalendar.cs
- UncommonField.cs
- ValidateNames.cs
- UpdatableGenericsFeature.cs
- Condition.cs
- SoapAttributes.cs
- ListView.cs
- InfoCardClaim.cs
- DragDeltaEventArgs.cs
- ComboBoxRenderer.cs
- SoapExtensionTypeElement.cs
- UnsignedPublishLicense.cs
- SimpleType.cs
- CodeCommentStatementCollection.cs
- BufferedGraphics.cs
- SymmetricKeyWrap.cs
- SiteMembershipCondition.cs
- FloatAverageAggregationOperator.cs
- AsmxEndpointPickerExtension.cs
- AccessText.cs
- HtmlInputText.cs
- StatusBar.cs
- FontStretches.cs
- OrderingExpression.cs
- XamlToRtfParser.cs
- TextRangeEditLists.cs
- ClientScriptManager.cs
- HtmlHistory.cs
- TypeBuilderInstantiation.cs
- XmlTypeAttribute.cs
- BufferModeSettings.cs
- ResourceManagerWrapper.cs
- RichTextBox.cs
- PolyLineSegment.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- XmlSchemaElement.cs
- WebPartRestoreVerb.cs
- TypefaceCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- XmlReaderSettings.cs
- Pair.cs
- QuerySelectOp.cs
- DeferredReference.cs
- LocalFileSettingsProvider.cs
- LZCodec.cs
- DynamicILGenerator.cs
- MetadataCache.cs
- RequestTimeoutManager.cs
- ClientTarget.cs
- SQLInt64.cs
- HeaderUtility.cs
- HttpSessionStateWrapper.cs
- ObjectViewFactory.cs
- HtmlHistory.cs
- ShaderEffect.cs
- XPathChildIterator.cs
- SmiTypedGetterSetter.cs
- MethodExpr.cs
- Transform.cs
- login.cs
- DebuggerAttributes.cs
- DetailsViewPageEventArgs.cs
- PropertyItem.cs
- Nodes.cs
- TableRowGroup.cs
- WriteTimeStream.cs
- RowType.cs
- ListenerSessionConnectionReader.cs
- BuildProviderUtils.cs
- HuffmanTree.cs
- PathFigureCollectionConverter.cs
- SerializationHelper.cs
- EnumUnknown.cs
- PerformanceCounterManager.cs
- ThicknessAnimation.cs
- ArgumentNullException.cs
- UrlMappingsModule.cs
- ConversionHelper.cs
- ChangePassword.cs
- XmlSchemaSimpleContentRestriction.cs
- HttpModuleAction.cs
- ConfigXmlText.cs
- LinqDataSource.cs
- UniqueIdentifierService.cs
- oledbmetadatacolumnnames.cs
- AdornedElementPlaceholder.cs
- GeneratedCodeAttribute.cs
- DBCommandBuilder.cs
- X509Utils.cs
- WebServicesDescriptionAttribute.cs
- RequestCacheManager.cs
- GridViewUpdateEventArgs.cs
- GregorianCalendar.cs
- SmtpLoginAuthenticationModule.cs
- PtsPage.cs
- DoubleAnimation.cs
- ConfigXmlCDataSection.cs