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
- Transform.cs
- RightsManagementLicense.cs
- QilPatternFactory.cs
- DirectoryInfo.cs
- TextChange.cs
- PermissionAttributes.cs
- WebServiceReceiveDesigner.cs
- EncoderParameter.cs
- _TimerThread.cs
- SemanticAnalyzer.cs
- DataTableMapping.cs
- RouteParameter.cs
- TextFormatterHost.cs
- XmlDataProvider.cs
- xamlnodes.cs
- SvcMapFileSerializer.cs
- RuntimeConfig.cs
- LambdaCompiler.Unary.cs
- MarshalByRefObject.cs
- BoundColumn.cs
- DeleteStoreRequest.cs
- FlowLayout.cs
- PersonalizationDictionary.cs
- ContainerParagraph.cs
- CodeLabeledStatement.cs
- Inflater.cs
- NetTcpSecurityElement.cs
- TableCellCollection.cs
- SQLDateTimeStorage.cs
- SqlDuplicator.cs
- DataGridViewCheckBoxCell.cs
- SqlTypeSystemProvider.cs
- ImageButton.cs
- ObjectReaderCompiler.cs
- ListenerPerfCounters.cs
- WaitHandle.cs
- WebDescriptionAttribute.cs
- DynamicPropertyHolder.cs
- StringWriter.cs
- WindowsSolidBrush.cs
- CurrentChangingEventArgs.cs
- DtrList.cs
- XslNumber.cs
- PagesSection.cs
- CharEntityEncoderFallback.cs
- Matrix.cs
- XmlWriterSettings.cs
- ElementProxy.cs
- AssemblyAttributesGoHere.cs
- AddInEnvironment.cs
- SerializationHelper.cs
- WithParamAction.cs
- StreamGeometry.cs
- LicFileLicenseProvider.cs
- FontWeights.cs
- WorkflowRuntime.cs
- AsyncSerializedWorker.cs
- XmlSchemaType.cs
- HtmlInputControl.cs
- CheckBox.cs
- XmlObjectSerializerWriteContextComplex.cs
- GeneralTransform3DCollection.cs
- Paragraph.cs
- SectionInformation.cs
- ProviderCommandInfoUtils.cs
- CollectionContainer.cs
- WebHttpDispatchOperationSelector.cs
- DerivedKeySecurityToken.cs
- VirtualPathUtility.cs
- PropertiesTab.cs
- SchemaImporterExtension.cs
- RSAPKCS1SignatureFormatter.cs
- TemplatePagerField.cs
- PageContentCollection.cs
- WebPartTransformer.cs
- ObjectContextServiceProvider.cs
- HttpCacheVary.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ImageButton.cs
- DoubleCollectionConverter.cs
- PropertyToken.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- NativeMethods.cs
- ResourceManagerWrapper.cs
- WindowsAuthenticationEventArgs.cs
- FacetValueContainer.cs
- XslException.cs
- UnaryQueryOperator.cs
- GeneralTransform3DCollection.cs
- XmlSchemaAttributeGroupRef.cs
- BindingExpressionBase.cs
- MsmqSecureHashAlgorithm.cs
- HttpBrowserCapabilitiesWrapper.cs
- RuntimeHandles.cs
- SpellCheck.cs
- TextPattern.cs
- ExpressionEditorAttribute.cs
- RealProxy.cs
- CompositeFontParser.cs
- UTF7Encoding.cs