Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 3 / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserControlCodeDomTreeGenerator.cs
- LookupBindingPropertiesAttribute.cs
- FixedSOMTextRun.cs
- SqlWriter.cs
- BindingCollection.cs
- SmtpCommands.cs
- DockingAttribute.cs
- XDRSchema.cs
- PrintPreviewDialog.cs
- MaskDescriptor.cs
- ConfigurationLocationCollection.cs
- MetadataPropertyvalue.cs
- ColumnWidthChangedEvent.cs
- NetTcpBindingCollectionElement.cs
- Maps.cs
- _emptywebproxy.cs
- GroupItemAutomationPeer.cs
- COSERVERINFO.cs
- FixedLineResult.cs
- EventPrivateKey.cs
- StyleSheetDesigner.cs
- RegularExpressionValidator.cs
- Pens.cs
- QueryPageSettingsEventArgs.cs
- Camera.cs
- AQNBuilder.cs
- SessionSwitchEventArgs.cs
- FileLogRecordHeader.cs
- CompiledQueryCacheKey.cs
- WhereQueryOperator.cs
- EntityDataSourceViewSchema.cs
- DBCommand.cs
- DetailsViewDeleteEventArgs.cs
- IgnoreFileBuildProvider.cs
- NetNamedPipeSecurityElement.cs
- EventMappingSettings.cs
- ZipIOBlockManager.cs
- HtmlElementEventArgs.cs
- AssociationTypeEmitter.cs
- translator.cs
- ImageUrlEditor.cs
- MailMessage.cs
- TransformationRules.cs
- RootBrowserWindow.cs
- XmlSchemaAppInfo.cs
- ScriptReferenceBase.cs
- ProtocolsConfigurationEntry.cs
- JoinCqlBlock.cs
- ConfigDefinitionUpdates.cs
- DataControlFieldTypeEditor.cs
- ItemContainerGenerator.cs
- Viewport3DAutomationPeer.cs
- BitmapEncoder.cs
- ServiceReference.cs
- SettingsAttributes.cs
- BaseCodePageEncoding.cs
- CodeAttributeDeclarationCollection.cs
- DependencyPropertyConverter.cs
- TypeTypeConverter.cs
- GroupBox.cs
- CodeMemberMethod.cs
- ProcessThread.cs
- FormViewUpdateEventArgs.cs
- ComAdminWrapper.cs
- XPathSelfQuery.cs
- RootBrowserWindowAutomationPeer.cs
- UnmanagedMarshal.cs
- SettingsContext.cs
- BitFlagsGenerator.cs
- BadImageFormatException.cs
- TimelineGroup.cs
- VerificationException.cs
- ValidationResult.cs
- ReachPageContentSerializerAsync.cs
- ConstructorBuilder.cs
- EventMappingSettingsCollection.cs
- GatewayIPAddressInformationCollection.cs
- SqlDataSourceCustomCommandEditor.cs
- FieldAccessException.cs
- RightsManagementPermission.cs
- LoginStatusDesigner.cs
- SoapEnumAttribute.cs
- XPathBinder.cs
- GroupBox.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- SelectionItemPattern.cs
- DataGridViewRowCollection.cs
- TextEffectResolver.cs
- AttributeQuery.cs
- SiteMapPath.cs
- VersionPair.cs
- SafeEventHandle.cs
- RedBlackList.cs
- GridViewPageEventArgs.cs
- XhtmlBasicLinkAdapter.cs
- ProtocolElement.cs
- NegatedConstant.cs
- SqlStream.cs
- DataGridViewTextBoxCell.cs
- Decorator.cs