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
- DataGridBoolColumn.cs
- DataSvcMapFile.cs
- InvalidateEvent.cs
- RequiredAttributeAttribute.cs
- DesignTimeValidationFeature.cs
- NewItemsContextMenuStrip.cs
- WinFormsUtils.cs
- IndexedGlyphRun.cs
- ZoneMembershipCondition.cs
- XPathDescendantIterator.cs
- IListConverters.cs
- ResourceProviderFactory.cs
- TableRowCollection.cs
- Membership.cs
- MonthChangedEventArgs.cs
- SetterBase.cs
- CDSsyncETWBCLProvider.cs
- ButtonRenderer.cs
- OracleEncoding.cs
- XPathPatternBuilder.cs
- StyleXamlTreeBuilder.cs
- QueryExpr.cs
- RegexInterpreter.cs
- PeerNameRecord.cs
- PartialCachingAttribute.cs
- __Filters.cs
- CaseStatement.cs
- XPathArrayIterator.cs
- ListItemCollection.cs
- CodeGroup.cs
- TreeNodeCollection.cs
- ConfigurationManagerInternal.cs
- TextTreeRootNode.cs
- Terminate.cs
- DrawTreeNodeEventArgs.cs
- SecurityChannelFactory.cs
- GiveFeedbackEvent.cs
- CatalogPartChrome.cs
- TrackingConditionCollection.cs
- NullableIntAverageAggregationOperator.cs
- AttributeQuery.cs
- SqlDataSourceConfigureFilterForm.cs
- AppDomainProtocolHandler.cs
- Number.cs
- CodeObject.cs
- DataGridRowHeader.cs
- InheritanceAttribute.cs
- UpdateRecord.cs
- _SingleItemRequestCache.cs
- ExpressionBindingCollection.cs
- ListSortDescriptionCollection.cs
- _SSPISessionCache.cs
- MembershipUser.cs
- WindowsSlider.cs
- CorePropertiesFilter.cs
- TraceContextRecord.cs
- InputBindingCollection.cs
- TextLineResult.cs
- InputQueueChannelAcceptor.cs
- InternalTypeHelper.cs
- TextSerializer.cs
- ParagraphVisual.cs
- ProgressChangedEventArgs.cs
- DependencyPropertyConverter.cs
- Persist.cs
- documentsequencetextcontainer.cs
- CreateUserWizard.cs
- CompositeControl.cs
- PagesChangedEventArgs.cs
- SchemaInfo.cs
- MarkupCompiler.cs
- SQLResource.cs
- TypeConverterMarkupExtension.cs
- CellNormalizer.cs
- ExtentCqlBlock.cs
- QilCloneVisitor.cs
- WebPartMinimizeVerb.cs
- SqlUtil.cs
- DrawingContextWalker.cs
- Expression.cs
- FlowDocumentReader.cs
- DbSetClause.cs
- ReflectionHelper.cs
- CqlParser.cs
- Html32TextWriter.cs
- DrawToolTipEventArgs.cs
- FileEnumerator.cs
- SelectionEditor.cs
- WindowsGrip.cs
- XPathAxisIterator.cs
- Viewport3DAutomationPeer.cs
- SerialPort.cs
- ResourcesBuildProvider.cs
- dbdatarecord.cs
- PrivilegeNotHeldException.cs
- ExtenderProvidedPropertyAttribute.cs
- WriteTimeStream.cs
- Triplet.cs
- TypeInfo.cs
- LocalizableAttribute.cs