Code:
/ FX-1434 / FX-1434 / 1.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
- XmlTextReaderImpl.cs
- XDRSchema.cs
- CompositeScriptReferenceEventArgs.cs
- WindowsRichEditRange.cs
- GestureRecognizer.cs
- DependencyPropertyHelper.cs
- ReliableMessagingVersion.cs
- FilterableData.cs
- ConfigXmlAttribute.cs
- CallbackBehaviorAttribute.cs
- ConcatQueryOperator.cs
- Type.cs
- DES.cs
- LicenseException.cs
- QueryTask.cs
- FileBasedResourceGroveler.cs
- Stylesheet.cs
- IdentifierService.cs
- ScopeElementCollection.cs
- UInt16.cs
- ObjectParameterCollection.cs
- TextDecorationCollectionConverter.cs
- UmAlQuraCalendar.cs
- DataGridViewComboBoxColumn.cs
- OracleTransaction.cs
- SecurityManager.cs
- LogicalTreeHelper.cs
- SchemaNamespaceManager.cs
- ConfigurationValues.cs
- TextDecorations.cs
- SQLBoolean.cs
- IncrementalHitTester.cs
- ListBox.cs
- WindowsStatusBar.cs
- EmptyQuery.cs
- MemoryFailPoint.cs
- ProxyWebPartConnectionCollection.cs
- SortDescriptionCollection.cs
- MatrixCamera.cs
- ImageList.cs
- DataControlLinkButton.cs
- GrammarBuilderWildcard.cs
- ImportOptions.cs
- FastEncoderWindow.cs
- CollectionEditorDialog.cs
- ServerType.cs
- ConditionCollection.cs
- DataGridViewMethods.cs
- SQLMoneyStorage.cs
- ScrollProperties.cs
- VisualStyleInformation.cs
- HideDisabledControlAdapter.cs
- BoolExpressionVisitors.cs
- RoutedCommand.cs
- GregorianCalendar.cs
- AuthenticationService.cs
- PolicyManager.cs
- DoubleKeyFrameCollection.cs
- ClientSettingsStore.cs
- SplayTreeNode.cs
- Site.cs
- BounceEase.cs
- UInt16Storage.cs
- ComboBoxRenderer.cs
- ProfileManager.cs
- XamlStream.cs
- ImageListDesigner.cs
- EqualityComparer.cs
- Nullable.cs
- ILGenerator.cs
- FontStyles.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- LayoutTableCell.cs
- CrossContextChannel.cs
- PersianCalendar.cs
- AspNetCompatibilityRequirementsMode.cs
- NamespaceQuery.cs
- CustomAttributeFormatException.cs
- Polygon.cs
- WmlCommandAdapter.cs
- FixedDocumentSequencePaginator.cs
- BlockCollection.cs
- UnorderedHashRepartitionStream.cs
- HostedHttpTransportManager.cs
- ObjectAssociationEndMapping.cs
- SelectedGridItemChangedEvent.cs
- ServiceAuthorizationBehavior.cs
- BaseTreeIterator.cs
- EntityDataSourceDesignerHelper.cs
- _IPv6Address.cs
- UserPersonalizationStateInfo.cs
- HttpRuntimeSection.cs
- JoinSymbol.cs
- ApplicationHost.cs
- ObjectItemAssemblyLoader.cs
- Visual3D.cs
- WizardPanelChangingEventArgs.cs
- EntityUtil.cs
- WindowsTooltip.cs
- TagPrefixInfo.cs