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
- TextSpanModifier.cs
- Int16Converter.cs
- AssemblyResourceLoader.cs
- Accessible.cs
- ReadOnlyPropertyMetadata.cs
- StorageComplexPropertyMapping.cs
- AspCompat.cs
- ProjectedSlot.cs
- XmlAggregates.cs
- PageThemeParser.cs
- DbConnectionPoolOptions.cs
- WebReferenceCollection.cs
- ConfigPathUtility.cs
- ProfileElement.cs
- OracleConnectionFactory.cs
- ScrollEvent.cs
- CustomValidator.cs
- ComplexPropertyEntry.cs
- BadImageFormatException.cs
- ColorAnimationBase.cs
- documentsequencetextpointer.cs
- HtmlTitle.cs
- RuleConditionDialog.Designer.cs
- StatusBar.cs
- PathParser.cs
- WebPartCatalogAddVerb.cs
- SerialPinChanges.cs
- EventDescriptorCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- StateDesigner.CommentLayoutGlyph.cs
- ResourceReferenceExpression.cs
- XmlQueryCardinality.cs
- SqlDataSourceSelectingEventArgs.cs
- MultiBinding.cs
- SR.cs
- ExpressionLexer.cs
- SubstitutionList.cs
- WmlTextViewAdapter.cs
- SID.cs
- FileRegion.cs
- OrderPreservingSpoolingTask.cs
- Grammar.cs
- ApplicationInfo.cs
- TemplatePropertyEntry.cs
- RuntimeUtils.cs
- UnitySerializationHolder.cs
- OutputScopeManager.cs
- XhtmlBasicLiteralTextAdapter.cs
- SymbolEqualComparer.cs
- EntityStoreSchemaFilterEntry.cs
- SizeAnimationBase.cs
- CapabilitiesPattern.cs
- coordinatorscratchpad.cs
- LayoutEngine.cs
- NamespaceExpr.cs
- TypeExtension.cs
- embossbitmapeffect.cs
- UIPermission.cs
- ECDiffieHellman.cs
- TabPageDesigner.cs
- SocketAddress.cs
- DataGridViewCheckBoxCell.cs
- SolidColorBrush.cs
- SpeakCompletedEventArgs.cs
- TempFiles.cs
- CryptoStream.cs
- DeviceContext2.cs
- CollectionViewGroupRoot.cs
- WhitespaceRuleReader.cs
- StandardCommands.cs
- QuaternionKeyFrameCollection.cs
- MSG.cs
- OuterGlowBitmapEffect.cs
- HttpApplicationFactory.cs
- DataSourceSelectArguments.cs
- UIElement3D.cs
- TypeElement.cs
- SqlUdtInfo.cs
- NamespaceQuery.cs
- SQLResource.cs
- SslStreamSecurityBindingElement.cs
- MessageEncoder.cs
- TransformDescriptor.cs
- ListViewUpdatedEventArgs.cs
- UInt16.cs
- HistoryEventArgs.cs
- ListViewContainer.cs
- WindowsNonControl.cs
- Internal.cs
- COM2ColorConverter.cs
- SecurityUtils.cs
- HttpServerVarsCollection.cs
- ThreadBehavior.cs
- PropertyGridEditorPart.cs
- DataGridViewCellConverter.cs
- ContentTextAutomationPeer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- Lease.cs
- GridViewPageEventArgs.cs
- PersistenceTypeAttribute.cs