Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectNotFoundException.cs
- SafeNativeMethods.cs
- _SslStream.cs
- XpsViewerException.cs
- WriteableBitmap.cs
- ErrorFormatter.cs
- XmlAtomErrorReader.cs
- StaticFileHandler.cs
- WinFormsSpinner.cs
- BuildManagerHost.cs
- CreateSequenceResponse.cs
- PrinterResolution.cs
- BuildManager.cs
- DataSetSchema.cs
- RankException.cs
- ObjectConverter.cs
- WizardSideBarListControlItemEventArgs.cs
- OperatorExpressions.cs
- fixedPageContentExtractor.cs
- DefaultSerializationProviderAttribute.cs
- WebPartsPersonalizationAuthorization.cs
- __Filters.cs
- BinaryFormatterWriter.cs
- Evaluator.cs
- StreamWithDictionary.cs
- SymbolUsageManager.cs
- TabControl.cs
- FormattedText.cs
- IDispatchConstantAttribute.cs
- SmtpLoginAuthenticationModule.cs
- DataControlLinkButton.cs
- StatusBarPanelClickEvent.cs
- HtmlLinkAdapter.cs
- ReferentialConstraintRoleElement.cs
- OutputCacheProfile.cs
- CaretElement.cs
- TemplateControl.cs
- ToolStripContentPanelRenderEventArgs.cs
- SingleTagSectionHandler.cs
- localization.cs
- ParenExpr.cs
- DataGridPageChangedEventArgs.cs
- DataRowChangeEvent.cs
- TableRowGroup.cs
- ZipIOCentralDirectoryBlock.cs
- UserCancellationException.cs
- SchemaEntity.cs
- UITypeEditor.cs
- PermissionToken.cs
- SqlParameter.cs
- cryptoapiTransform.cs
- DataGridViewBand.cs
- CreateUserWizardStep.cs
- XmlEncodedRawTextWriter.cs
- BuildDependencySet.cs
- ContentType.cs
- DelegateArgumentValue.cs
- LineGeometry.cs
- MessageAction.cs
- XmlChildNodes.cs
- RenderCapability.cs
- sapiproxy.cs
- AdapterSwitches.cs
- _SafeNetHandles.cs
- PassportPrincipal.cs
- InstanceNormalEvent.cs
- SmtpTransport.cs
- SQLGuid.cs
- DataGridViewAdvancedBorderStyle.cs
- HwndPanningFeedback.cs
- AutoResizedEvent.cs
- DataGridViewCellLinkedList.cs
- AttributeCollection.cs
- HybridWebProxyFinder.cs
- CustomCredentialPolicy.cs
- CompareValidator.cs
- TextBox.cs
- _BaseOverlappedAsyncResult.cs
- _FtpDataStream.cs
- PublisherMembershipCondition.cs
- PerformanceCountersElement.cs
- PresentationTraceSources.cs
- PrimitiveCodeDomSerializer.cs
- BoundsDrawingContextWalker.cs
- NamedElement.cs
- OptimalBreakSession.cs
- ChildrenQuery.cs
- TrackBar.cs
- SafeRightsManagementPubHandle.cs
- MasterPage.cs
- EventHandlersStore.cs
- TrustManagerPromptUI.cs
- ObjectSet.cs
- mediaeventargs.cs
- Itemizer.cs
- EntryIndex.cs
- ClaimComparer.cs
- ClipboardProcessor.cs
- Console.cs
- DataGridViewCellErrorTextNeededEventArgs.cs