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
- SapiGrammar.cs
- BitVector32.cs
- DropDownList.cs
- MenuItem.cs
- SearchExpression.cs
- UserInitiatedNavigationPermission.cs
- CustomCredentialPolicy.cs
- ImmutableCollection.cs
- FixedNode.cs
- TextInfo.cs
- SHA256.cs
- PropertyValidationContext.cs
- CodeAttributeDeclaration.cs
- ToolStripProgressBar.cs
- PersistChildrenAttribute.cs
- ProfilePropertySettingsCollection.cs
- TrackingProfile.cs
- DesignerProperties.cs
- AnimationClock.cs
- ILGenerator.cs
- DataObjectFieldAttribute.cs
- PolicyManager.cs
- HTMLTextWriter.cs
- FlowLayoutPanel.cs
- PropertyAccessVisitor.cs
- ServiceCredentialsSecurityTokenManager.cs
- AuthenticationModulesSection.cs
- StrongName.cs
- XmlCollation.cs
- CodeDelegateInvokeExpression.cs
- SoapAttributeOverrides.cs
- SelectionWordBreaker.cs
- DataGridCommandEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- SqlServices.cs
- SystemException.cs
- HighlightComponent.cs
- ToolStripSystemRenderer.cs
- ObjectNavigationPropertyMapping.cs
- nulltextnavigator.cs
- Wizard.cs
- StructuredTypeInfo.cs
- SerializationInfo.cs
- GenericAuthenticationEventArgs.cs
- EntityAdapter.cs
- WindowsTooltip.cs
- TypeConverterValueSerializer.cs
- WpfPayload.cs
- BitmapPalettes.cs
- GroupQuery.cs
- ControlParser.cs
- SwitchAttribute.cs
- PackagingUtilities.cs
- KerberosTicketHashIdentifierClause.cs
- RuntimeResourceSet.cs
- SafeHandles.cs
- ConfigurationManager.cs
- ToolboxItemLoader.cs
- ReversePositionQuery.cs
- RegexTree.cs
- HtmlElementEventArgs.cs
- ChangeInterceptorAttribute.cs
- PrimaryKeyTypeConverter.cs
- PrintDialogException.cs
- PortCache.cs
- HtmlInputImage.cs
- SQLSingle.cs
- DataGridViewCellValidatingEventArgs.cs
- StringUtil.cs
- Util.cs
- DetailsViewAutoFormat.cs
- TextEditorDragDrop.cs
- ViewStateAttachedPropertyFeature.cs
- PointValueSerializer.cs
- SchemaCollectionPreprocessor.cs
- DocumentXPathNavigator.cs
- UnconditionalPolicy.cs
- EntitySetBase.cs
- TextRangeBase.cs
- TreeNode.cs
- XmlException.cs
- HtmlInputReset.cs
- EntityDataSourceConfigureObjectContext.cs
- LockedBorderGlyph.cs
- SqlReorderer.cs
- XmlMemberMapping.cs
- Logging.cs
- TypeProvider.cs
- Matrix3D.cs
- PrinterResolution.cs
- ErrorFormatterPage.cs
- ClientRuntimeConfig.cs
- CultureTable.cs
- MessagingActivityHelper.cs
- RemotingHelper.cs
- DependencyPropertyDescriptor.cs
- BroadcastEventHelper.cs
- StrongName.cs
- AllMembershipCondition.cs
- StringDictionaryCodeDomSerializer.cs