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
- OleAutBinder.cs
- CatchBlock.cs
- PlanCompilerUtil.cs
- QueryStringParameter.cs
- AbsoluteQuery.cs
- DataSourceHelper.cs
- SeparatorAutomationPeer.cs
- ModuleConfigurationInfo.cs
- Baml6ConstructorInfo.cs
- FontSource.cs
- TextElement.cs
- TreeNode.cs
- AssociativeAggregationOperator.cs
- RulePatternOps.cs
- StreamGeometryContext.cs
- EventHandlingScope.cs
- WindowInteropHelper.cs
- ResXBuildProvider.cs
- XmlAttributeCache.cs
- TextEndOfSegment.cs
- SemanticResultKey.cs
- GeneratedContractType.cs
- ExpressionBuilder.cs
- ReplacementText.cs
- SafeNativeMethods.cs
- UniqueConstraint.cs
- ScriptIgnoreAttribute.cs
- GlobalProxySelection.cs
- Int32AnimationBase.cs
- ActionNotSupportedException.cs
- UnmanagedMemoryStreamWrapper.cs
- _DomainName.cs
- ProfileWorkflowElement.cs
- AttributeEmitter.cs
- ISessionStateStore.cs
- RightsManagementEncryptionTransform.cs
- SerializationStore.cs
- CachedPathData.cs
- TimeSpanStorage.cs
- NamespaceMapping.cs
- SoapAttributeOverrides.cs
- NonSerializedAttribute.cs
- RectangleGeometry.cs
- BuildProvidersCompiler.cs
- AssemblySettingAttributes.cs
- SizeAnimationUsingKeyFrames.cs
- CodeExpressionRuleDeclaration.cs
- DBNull.cs
- CodeCatchClause.cs
- HttpRuntime.cs
- ObjectTag.cs
- SmiTypedGetterSetter.cs
- MailDefinitionBodyFileNameEditor.cs
- UnknownWrapper.cs
- objectresult_tresulttype.cs
- DiffuseMaterial.cs
- ReferentialConstraintRoleElement.cs
- IgnoreDataMemberAttribute.cs
- LineUtil.cs
- XmlUtilWriter.cs
- SystemWebCachingSectionGroup.cs
- UIElementPropertyUndoUnit.cs
- figurelengthconverter.cs
- PtsHelper.cs
- WebConfigManager.cs
- ApplicationServicesHostFactory.cs
- PictureBox.cs
- XmlElementAttribute.cs
- BamlWriter.cs
- ScriptReferenceEventArgs.cs
- NetworkInterface.cs
- TypeUsage.cs
- ConfigsHelper.cs
- MouseButton.cs
- ProviderIncompatibleException.cs
- Attachment.cs
- CombinedGeometry.cs
- DateTimeUtil.cs
- DefaultMergeHelper.cs
- EventHandlingScope.cs
- TextTreeRootTextBlock.cs
- RuleRef.cs
- RightsManagementEncryptedStream.cs
- InheritanceRules.cs
- FixedHighlight.cs
- IndentedTextWriter.cs
- Matrix.cs
- ExtractorMetadata.cs
- RightsManagementPermission.cs
- GetPageCompletedEventArgs.cs
- CommonProperties.cs
- XMLSyntaxException.cs
- ImageClickEventArgs.cs
- GridViewCancelEditEventArgs.cs
- FlagsAttribute.cs
- EncoderExceptionFallback.cs
- SQLString.cs
- LayoutEngine.cs
- CompiledRegexRunner.cs
- PropertyTab.cs