Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OwnerDrawPropertyBag.cs
- DecimalAnimation.cs
- ConfigurationStrings.cs
- ControlAdapter.cs
- ContextMenuStripActionList.cs
- DateTimeFormat.cs
- CodeNamespaceImportCollection.cs
- DrawListViewColumnHeaderEventArgs.cs
- RsaSecurityToken.cs
- TransformerInfoCollection.cs
- EntityParameterCollection.cs
- VariableQuery.cs
- Buffer.cs
- BitmapMetadata.cs
- CodeAssignStatement.cs
- StylusDevice.cs
- StreamInfo.cs
- TypeElement.cs
- SkinBuilder.cs
- FixedLineResult.cs
- FormViewUpdateEventArgs.cs
- IntegerValidatorAttribute.cs
- HtmlTableCell.cs
- UIPropertyMetadata.cs
- TreeNodeConverter.cs
- UnicastIPAddressInformationCollection.cs
- AbsoluteQuery.cs
- SessionStateItemCollection.cs
- ClipboardData.cs
- SafeNativeMethods.cs
- KeyValuePairs.cs
- Point4DValueSerializer.cs
- XsltFunctions.cs
- HandlerBase.cs
- SessionEndingCancelEventArgs.cs
- DiscreteKeyFrames.cs
- RectKeyFrameCollection.cs
- PerformanceCounterPermissionAttribute.cs
- RewritingProcessor.cs
- WebCodeGenerator.cs
- DateTimeSerializationSection.cs
- TransactionsSectionGroup.cs
- WebResourceUtil.cs
- Single.cs
- ProviderMetadataCachedInformation.cs
- DataContractSerializerSection.cs
- Stroke.cs
- FrameworkContentElement.cs
- ThreadAbortException.cs
- ReliabilityContractAttribute.cs
- ArrayItemValue.cs
- NativeRecognizer.cs
- ChannelDispatcher.cs
- SqlClientPermission.cs
- ChangeTracker.cs
- GeometryDrawing.cs
- Int16AnimationBase.cs
- StylusPlugin.cs
- TryCatchDesigner.xaml.cs
- GenericWebPart.cs
- DesignerHierarchicalDataSourceView.cs
- XmlReaderSettings.cs
- TokenizerHelper.cs
- WebServiceResponse.cs
- safesecurityhelperavalon.cs
- RayMeshGeometry3DHitTestResult.cs
- StateBag.cs
- DataMemberConverter.cs
- SoapSchemaImporter.cs
- CommandDevice.cs
- ClientApiGenerator.cs
- AppDomainShutdownMonitor.cs
- HtmlLink.cs
- TripleDESCryptoServiceProvider.cs
- DataSvcMapFile.cs
- SmtpNetworkElement.cs
- BaseParaClient.cs
- ImageListStreamer.cs
- WindowsTab.cs
- WindowsSlider.cs
- ToolStripDropTargetManager.cs
- CodeGeneratorAttribute.cs
- _ConnectOverlappedAsyncResult.cs
- Properties.cs
- RequiredFieldValidator.cs
- TriState.cs
- SqlGatherProducedAliases.cs
- DateTimeConverter2.cs
- DynamicUpdateCommand.cs
- WebHttpBindingElement.cs
- SqlGenericUtil.cs
- MenuAutomationPeer.cs
- WebPartCloseVerb.cs
- StateBag.cs
- PeerApplication.cs
- Padding.cs
- RawAppCommandInputReport.cs
- FormatException.cs
- RtfToXamlLexer.cs
- WpfWebRequestHelper.cs