Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ContextInformation.cs
- TreeViewImageIndexConverter.cs
- QuarticEase.cs
- SizeChangedInfo.cs
- NetworkInformationException.cs
- ImageList.cs
- RoleManagerEventArgs.cs
- XmlSerializationReader.cs
- GridViewHeaderRowPresenter.cs
- FixedSOMFixedBlock.cs
- SecurityChannel.cs
- ReadWriteSpinLock.cs
- MenuCommand.cs
- ListBase.cs
- Span.cs
- DbProviderConfigurationHandler.cs
- GPRECT.cs
- SimpleTextLine.cs
- WebServiceData.cs
- FontCacheUtil.cs
- PageContentCollection.cs
- ComponentResourceManager.cs
- MenuItemAutomationPeer.cs
- Grant.cs
- JournalEntryStack.cs
- CryptoApi.cs
- SortDescriptionCollection.cs
- HtmlInputSubmit.cs
- SqlRemoveConstantOrderBy.cs
- Relationship.cs
- UIElement.cs
- CorruptingExceptionCommon.cs
- ProvideValueServiceProvider.cs
- ReferenceSchema.cs
- CalloutQueueItem.cs
- ValidationError.cs
- DataBindingHandlerAttribute.cs
- AndCondition.cs
- SchemaMapping.cs
- NamespaceTable.cs
- PartialTrustVisibleAssembly.cs
- BitmapEncoder.cs
- CookielessData.cs
- EventMappingSettings.cs
- TextEffectCollection.cs
- CapabilitiesUse.cs
- Track.cs
- TableCellsCollectionEditor.cs
- NextPreviousPagerField.cs
- WebBrowser.cs
- Overlapped.cs
- _FtpControlStream.cs
- SystemIPInterfaceProperties.cs
- WebConfigurationHostFileChange.cs
- DataControlCommands.cs
- Graph.cs
- GuidConverter.cs
- SpanIndex.cs
- ValueCollectionParameterReader.cs
- LayoutEditorPart.cs
- MergablePropertyAttribute.cs
- SqlBuffer.cs
- newinstructionaction.cs
- UnionCodeGroup.cs
- ScriptIgnoreAttribute.cs
- COM2Enum.cs
- DesignerCategoryAttribute.cs
- PackageDigitalSignatureManager.cs
- AttributeQuery.cs
- ParameterCollectionEditor.cs
- CredentialCache.cs
- MdImport.cs
- DateTimeConstantAttribute.cs
- NumericUpDown.cs
- RestHandler.cs
- SafeFileMapViewHandle.cs
- DataGridViewComboBoxCell.cs
- BrushValueSerializer.cs
- IODescriptionAttribute.cs
- Grammar.cs
- ContentControl.cs
- EventInfo.cs
- IndexOutOfRangeException.cs
- EdmItemError.cs
- ModuleBuilderData.cs
- IntSecurity.cs
- ExecutionContext.cs
- StylusTip.cs
- CorrelationManager.cs
- UrlPath.cs
- SchemaTypeEmitter.cs
- PointLight.cs
- ProxyWebPart.cs
- DesignerActionVerbList.cs
- BoundConstants.cs
- BorderGapMaskConverter.cs
- SmtpNetworkElement.cs
- OledbConnectionStringbuilder.cs
- Propagator.JoinPropagator.cs
- LocationFactory.cs