Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 1 / 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValueUtilsSmi.cs
- QueryFunctions.cs
- AssociationType.cs
- XPathAncestorQuery.cs
- ServiceAuthorizationElement.cs
- ResourceIDHelper.cs
- XmlSchemaSimpleType.cs
- XmlDigitalSignatureProcessor.cs
- FtpRequestCacheValidator.cs
- MarkedHighlightComponent.cs
- TypeLoader.cs
- ControlCachePolicy.cs
- StructuredCompositeActivityDesigner.cs
- SecurityUtils.cs
- XsdDuration.cs
- _ScatterGatherBuffers.cs
- EditorServiceContext.cs
- OleDbConnectionInternal.cs
- DataGridViewRowsAddedEventArgs.cs
- ItemCollection.cs
- ScanQueryOperator.cs
- OneWayChannelListener.cs
- ExtensionSurface.cs
- MonthCalendar.cs
- StandardMenuStripVerb.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- SqlParameter.cs
- DummyDataSource.cs
- Dictionary.cs
- RotateTransform3D.cs
- FontStyleConverter.cs
- FixedSOMSemanticBox.cs
- Simplifier.cs
- ObjectListGeneralPage.cs
- MouseEventArgs.cs
- WarningException.cs
- DataGridSortCommandEventArgs.cs
- IndexedWhereQueryOperator.cs
- ClientUrlResolverWrapper.cs
- ListViewItem.cs
- SourceSwitch.cs
- TextBox.cs
- CodeGen.cs
- DetailsViewModeEventArgs.cs
- TransformPattern.cs
- FilePrompt.cs
- RectKeyFrameCollection.cs
- WebBaseEventKeyComparer.cs
- IndicCharClassifier.cs
- SerializerProvider.cs
- xsdvalidator.cs
- HyperLink.cs
- GridEntry.cs
- StyleCollection.cs
- DBSchemaRow.cs
- ResourceManager.cs
- ProfilePropertySettingsCollection.cs
- Pen.cs
- CultureInfoConverter.cs
- ErrorHandler.cs
- DataGridViewLayoutData.cs
- FtpRequestCacheValidator.cs
- XPathQilFactory.cs
- Helper.cs
- KeyboardNavigation.cs
- TraceSection.cs
- ImageConverter.cs
- DataGridViewCellStyle.cs
- DrawingState.cs
- MessagePartSpecification.cs
- DomainUpDown.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- AdRotator.cs
- TransformerConfigurationWizardBase.cs
- DataGridViewAddColumnDialog.cs
- TextSerializer.cs
- ListParaClient.cs
- ObjectViewQueryResultData.cs
- LassoSelectionBehavior.cs
- AttributeTableBuilder.cs
- StructureChangedEventArgs.cs
- HandledMouseEvent.cs
- DictionaryEditChange.cs
- DataGridHeaderBorder.cs
- SqlNodeAnnotations.cs
- IntranetCredentialPolicy.cs
- BackoffTimeoutHelper.cs
- CommunicationException.cs
- AssociatedControlConverter.cs
- Int32Rect.cs
- WebExceptionStatus.cs
- DataTablePropertyDescriptor.cs
- ApplicationContext.cs
- ToolStripContainer.cs
- DbFunctionCommandTree.cs
- SafeBitVector32.cs
- AnnotationHelper.cs
- CompileXomlTask.cs
- RegionIterator.cs
- XmlValidatingReaderImpl.cs