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
- CodePageUtils.cs
- OutputCacheSection.cs
- SqlCacheDependencyDatabase.cs
- FileDialogCustomPlacesCollection.cs
- AsymmetricSignatureFormatter.cs
- HTTPNotFoundHandler.cs
- Underline.cs
- SizeConverter.cs
- Stroke2.cs
- storepermission.cs
- CustomAssemblyResolver.cs
- SupportsEventValidationAttribute.cs
- GPStream.cs
- MimeTypeAttribute.cs
- CompilerCollection.cs
- DataPager.cs
- ContextMenuStripGroupCollection.cs
- SmtpException.cs
- Utils.cs
- Operand.cs
- ServiceProviders.cs
- DataGridViewColumn.cs
- LinkUtilities.cs
- WsatTransactionInfo.cs
- Manipulation.cs
- wpf-etw.cs
- RecipientInfo.cs
- ImageAutomationPeer.cs
- SQLInt32.cs
- WorkerRequest.cs
- DataGridTextBoxColumn.cs
- DetailsViewPageEventArgs.cs
- ItemCollectionEditor.cs
- InheritanceContextHelper.cs
- OracleRowUpdatingEventArgs.cs
- CreatingCookieEventArgs.cs
- TableLayoutStyle.cs
- DefaultBinder.cs
- EntitySetBase.cs
- XmlNamedNodeMap.cs
- EventEntry.cs
- PropertyKey.cs
- XPathArrayIterator.cs
- LoadRetryHandler.cs
- AliasGenerator.cs
- Queue.cs
- PackWebResponse.cs
- Rotation3DAnimationUsingKeyFrames.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- XmlByteStreamReader.cs
- StretchValidation.cs
- TextChangedEventArgs.cs
- XMLSchema.cs
- ResourcesGenerator.cs
- ScriptingAuthenticationServiceSection.cs
- Schedule.cs
- WindowsToolbarAsMenu.cs
- MimeXmlImporter.cs
- TreeIterators.cs
- BulletChrome.cs
- StylusPointProperty.cs
- BindingList.cs
- HtmlTitle.cs
- TransferRequestHandler.cs
- WindowsTreeView.cs
- DelegateBodyWriter.cs
- JoinGraph.cs
- XmlNodeChangedEventArgs.cs
- Interlocked.cs
- GetTokenRequest.cs
- AssertValidation.cs
- DocumentGridPage.cs
- WebContext.cs
- SRef.cs
- AssemblyBuilder.cs
- SignedXml.cs
- IisTraceWebEventProvider.cs
- indexingfiltermarshaler.cs
- CodeExpressionStatement.cs
- XPathScanner.cs
- RootBrowserWindow.cs
- CollectionViewGroupInternal.cs
- ClientScriptItemCollection.cs
- ObjectIDGenerator.cs
- BindingGroup.cs
- Token.cs
- RangeValidator.cs
- CodeAccessSecurityEngine.cs
- VisualStateGroup.cs
- BindStream.cs
- ConfigXmlElement.cs
- WhitespaceRule.cs
- ImageAutomationPeer.cs
- CompModSwitches.cs
- PropertyInfoSet.cs
- TemplateControlCodeDomTreeGenerator.cs
- _OverlappedAsyncResult.cs
- DesignTimeParseData.cs
- StrokeDescriptor.cs
- ClientScriptManager.cs