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
- arclist.cs
- ThreadExceptionDialog.cs
- RegexGroupCollection.cs
- KnownTypesProvider.cs
- SoapReflectionImporter.cs
- EventProviderWriter.cs
- AdapterDictionary.cs
- ObjectHandle.cs
- BitmapEffectInput.cs
- AudioFormatConverter.cs
- SessionStateContainer.cs
- VersionedStreamOwner.cs
- SafeArchiveContext.cs
- DataListItemEventArgs.cs
- ColorConvertedBitmap.cs
- SelectionRangeConverter.cs
- AutoScrollHelper.cs
- XmlSchemaRedefine.cs
- SerialStream.cs
- PropertyNames.cs
- CustomAttributeSerializer.cs
- DataAdapter.cs
- FontFamilyIdentifier.cs
- SqlTypeSystemProvider.cs
- MessageQueueInstaller.cs
- GroupBox.cs
- StackOverflowException.cs
- SettingsSection.cs
- ActivityExecutorDelegateInfo.cs
- CalculatedColumn.cs
- CreateParams.cs
- RuleDefinitions.cs
- sitestring.cs
- PickDesigner.xaml.cs
- TextAnchor.cs
- ObjectReferenceStack.cs
- DataGridColumnCollectionEditor.cs
- ConfigurationElement.cs
- wgx_commands.cs
- SafeHandles.cs
- HashAlgorithm.cs
- VirtualDirectoryMapping.cs
- EventItfInfo.cs
- Helpers.cs
- EntityConnectionStringBuilder.cs
- WebServiceClientProxyGenerator.cs
- XmlIgnoreAttribute.cs
- XhtmlBasicPageAdapter.cs
- Socket.cs
- LambdaReference.cs
- WebPart.cs
- CodeDelegateInvokeExpression.cs
- FileSystemInfo.cs
- AdornedElementPlaceholder.cs
- ResolveNameEventArgs.cs
- GridViewColumn.cs
- EventProxy.cs
- FileLevelControlBuilderAttribute.cs
- XPathExpr.cs
- TextEditorTables.cs
- BoundField.cs
- HtmlControl.cs
- BufferedMessageWriter.cs
- ContainerVisual.cs
- KeyFrames.cs
- Deserializer.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- CompilationLock.cs
- WebUtil.cs
- ConfigurationValues.cs
- ExternalFile.cs
- RequestCacheEntry.cs
- PlatformNotSupportedException.cs
- UserInitiatedRoutedEventPermission.cs
- WindowsListViewGroup.cs
- NetCodeGroup.cs
- DependencyPropertyKey.cs
- CompilationRelaxations.cs
- ResponseBodyWriter.cs
- WebExceptionStatus.cs
- EdmConstants.cs
- StyleSheetRefUrlEditor.cs
- Attributes.cs
- WorkItem.cs
- Matrix.cs
- CompiledIdentityConstraint.cs
- SystemTcpStatistics.cs
- LinkConverter.cs
- HttpRequestCacheValidator.cs
- XmlCharType.cs
- XPathCompileException.cs
- DataGridViewDataErrorEventArgs.cs
- PropertySegmentSerializer.cs
- ListBoxItem.cs
- CompilationLock.cs
- WorkflowQueuingService.cs
- XmlILModule.cs
- SQLInt64.cs
- XmlWellformedWriter.cs
- ItemContainerProviderWrapper.cs