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
- SmiSettersStream.cs
- HtmlInputControl.cs
- VisemeEventArgs.cs
- XmlArrayAttribute.cs
- WeakReferenceKey.cs
- HMACSHA384.cs
- ContainerVisual.cs
- CapacityStreamGeometryContext.cs
- Bits.cs
- RotateTransform3D.cs
- filewebrequest.cs
- SqlClientFactory.cs
- TrailingSpaceComparer.cs
- PreviewPageInfo.cs
- PointLight.cs
- XmlDataLoader.cs
- PropertyMap.cs
- OneWayBindingElementImporter.cs
- XmlSignificantWhitespace.cs
- DataGridViewBand.cs
- WebPartVerbsEventArgs.cs
- GlyphsSerializer.cs
- ApplicationBuildProvider.cs
- CodePropertyReferenceExpression.cs
- WindowsStartMenu.cs
- SequenceQuery.cs
- LocatorPart.cs
- DataGridViewButtonColumn.cs
- DefaultObjectMappingItemCollection.cs
- FixedSOMPageConstructor.cs
- GlyphRunDrawing.cs
- Cursors.cs
- AccessKeyManager.cs
- RankException.cs
- Compensate.cs
- WaitingCursor.cs
- MessageContractMemberAttribute.cs
- XmlSchemaValidator.cs
- ServiceModelConfigurationSection.cs
- BasicHttpSecurity.cs
- DecimalConstantAttribute.cs
- WinInetCache.cs
- HybridDictionary.cs
- EntityModelBuildProvider.cs
- TextProperties.cs
- activationcontext.cs
- KnownIds.cs
- MimeMapping.cs
- ToolStripContainer.cs
- MonitorWrapper.cs
- TemplateXamlTreeBuilder.cs
- XamlSerializationHelper.cs
- TreeNodeCollection.cs
- CounterNameConverter.cs
- Win32.cs
- ButtonChrome.cs
- ObfuscateAssemblyAttribute.cs
- TypeSystemHelpers.cs
- SuppressMessageAttribute.cs
- InvalidOleVariantTypeException.cs
- ExpressionTextBox.xaml.cs
- SimpleHandlerBuildProvider.cs
- SafeHandle.cs
- InvalidWMPVersionException.cs
- InternalConfigRoot.cs
- UnsafeNativeMethods.cs
- XmlQueryCardinality.cs
- CaseDesigner.xaml.cs
- NativeMethods.cs
- AliasExpr.cs
- DateTimeParse.cs
- SvcMapFileSerializer.cs
- CallTemplateAction.cs
- ServiceNameElement.cs
- FrameworkContentElement.cs
- EllipticalNodeOperations.cs
- SQLDecimalStorage.cs
- SortDescriptionCollection.cs
- RadioButtonList.cs
- QuaternionIndependentAnimationStorage.cs
- PreloadedPackages.cs
- DebugHandleTracker.cs
- DesignerProperties.cs
- dataSvcMapFileLoader.cs
- BinaryNode.cs
- PropertyGridView.cs
- MapPathBasedVirtualPathProvider.cs
- InputScopeAttribute.cs
- FixedSOMLineRanges.cs
- CTreeGenerator.cs
- StreamWithDictionary.cs
- ColumnHeader.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- FontSourceCollection.cs
- _CookieModule.cs
- ConditionalExpression.cs
- CapabilitiesState.cs
- TextRangeProviderWrapper.cs
- RemotingServices.cs
- ForceCopyBuildProvider.cs