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
- Authorization.cs
- KeyboardEventArgs.cs
- WebServiceReceive.cs
- TerminatorSinks.cs
- ValueSerializerAttribute.cs
- ServerIdentity.cs
- TargetControlTypeAttribute.cs
- StreamProxy.cs
- NativeRightsManagementAPIsStructures.cs
- PartialTrustValidationBehavior.cs
- ListDictionaryInternal.cs
- XmlSchemaSimpleTypeRestriction.cs
- OlePropertyStructs.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- RangeBaseAutomationPeer.cs
- WindowsImpersonationContext.cs
- SAPIEngineTypes.cs
- DataComponentMethodGenerator.cs
- PointHitTestResult.cs
- EventWaitHandleSecurity.cs
- coordinator.cs
- DelayDesigner.cs
- DataTableNameHandler.cs
- SessionEndedEventArgs.cs
- thaishape.cs
- BrowserCapabilitiesCompiler.cs
- HelpInfo.cs
- ReflectionUtil.cs
- QuaternionAnimation.cs
- DescriptionAttribute.cs
- SelectorItemAutomationPeer.cs
- EventProviderWriter.cs
- UnaryNode.cs
- DiscardableAttribute.cs
- SqlAliaser.cs
- SynchronizationValidator.cs
- PieceNameHelper.cs
- SqlUtil.cs
- ToolStripDropDownItemDesigner.cs
- StyleModeStack.cs
- DocumentViewerConstants.cs
- shaperfactoryquerycachekey.cs
- initElementDictionary.cs
- Latin1Encoding.cs
- OdbcEnvironment.cs
- XmlFormatWriterGenerator.cs
- PropertyInfoSet.cs
- DataRecord.cs
- IdentityModelDictionary.cs
- HandleCollector.cs
- CollectionView.cs
- PropertySet.cs
- SqlServices.cs
- DesignerSerializerAttribute.cs
- TextRangeAdaptor.cs
- Zone.cs
- ArglessEventHandlerProxy.cs
- Application.cs
- SocketPermission.cs
- ContextDataSourceContextData.cs
- RootAction.cs
- TemplateBaseAction.cs
- HttpException.cs
- CompilerGlobalScopeAttribute.cs
- CompatibleIComparer.cs
- RequestStatusBarUpdateEventArgs.cs
- VectorAnimationBase.cs
- XmlSchemaComplexContent.cs
- WindowsFont.cs
- ActionFrame.cs
- CircleEase.cs
- ContainerParaClient.cs
- HtmlEmptyTagControlBuilder.cs
- DrawingGroup.cs
- ValidatingPropertiesEventArgs.cs
- ISSmlParser.cs
- WindowsTab.cs
- SelectedDatesCollection.cs
- BaseCodeDomTreeGenerator.cs
- versioninfo.cs
- MethodBuilderInstantiation.cs
- TextComposition.cs
- SpanIndex.cs
- JsonWriter.cs
- BindingObserver.cs
- formatstringdialog.cs
- FixedDocumentSequencePaginator.cs
- MultipartContentParser.cs
- Parser.cs
- TypeDescriptionProviderAttribute.cs
- PointCollectionConverter.cs
- ToolTipAutomationPeer.cs
- SettingsSection.cs
- relpropertyhelper.cs
- ReadWriteControlDesigner.cs
- PrintingPermission.cs
- ToolStripDropTargetManager.cs
- ObjectNotFoundException.cs
- Panel.cs
- QuaternionAnimation.cs