Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 1305376 / 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)] public sealed class ProfileProviderAttribute : Attribute { private string _ProviderName; public ProfileProviderAttribute(string providerName) { _ProviderName = providerName; } public string ProviderName { get { return _ProviderName; } } } [AttributeUsage(AttributeTargets.Property)] 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)] 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
- TcpServerChannel.cs
- DataServiceResponse.cs
- __ConsoleStream.cs
- UrlPropertyAttribute.cs
- FontFamilyConverter.cs
- MarkupWriter.cs
- ProxySimple.cs
- CompositeClientFormatter.cs
- EditorPart.cs
- Vector3DConverter.cs
- Msmq4PoisonHandler.cs
- Bidi.cs
- UpdateDelegates.Generated.cs
- StrongName.cs
- URI.cs
- AssociatedControlConverter.cs
- NativeMethods.cs
- CommandBinding.cs
- FigureParaClient.cs
- String.cs
- InputLanguageCollection.cs
- XamlTemplateSerializer.cs
- DataGridItemEventArgs.cs
- RegexRunnerFactory.cs
- PageBuildProvider.cs
- MimeMultiPart.cs
- autovalidator.cs
- TCPListener.cs
- PageSetupDialog.cs
- FontStretchConverter.cs
- BinaryOperationBinder.cs
- Point3DConverter.cs
- GenerateTemporaryTargetAssembly.cs
- CommandDevice.cs
- MimeTypeAttribute.cs
- SettingsContext.cs
- ToolStripRendererSwitcher.cs
- Site.cs
- DbDataRecord.cs
- EntitySqlException.cs
- TextTreeExtractElementUndoUnit.cs
- SerializationInfoEnumerator.cs
- PathGradientBrush.cs
- WebPartUtil.cs
- PointValueSerializer.cs
- CompositeFontInfo.cs
- EntryWrittenEventArgs.cs
- EntitySqlException.cs
- CodeEntryPointMethod.cs
- XmlSchemaNotation.cs
- Parser.cs
- DataPagerFieldItem.cs
- SingleObjectCollection.cs
- StretchValidation.cs
- Int16Converter.cs
- FirstMatchCodeGroup.cs
- MessageAction.cs
- PriorityChain.cs
- EntityTypeBase.cs
- DataBindingList.cs
- DateTimeFormatInfo.cs
- ButtonBaseAdapter.cs
- AsymmetricKeyExchangeFormatter.cs
- ArcSegment.cs
- DefaultPropertyAttribute.cs
- Geometry.cs
- AssemblyAssociatedContentFileAttribute.cs
- WebBrowser.cs
- PolyBezierSegment.cs
- RtfNavigator.cs
- HttpResponseInternalBase.cs
- VirtualPathProvider.cs
- ObjectHandle.cs
- SignalGate.cs
- FileLoadException.cs
- HttpApplication.cs
- QilIterator.cs
- BindingMAnagerBase.cs
- DataColumnMapping.cs
- ViewStateException.cs
- TabPanel.cs
- ApplicationActivator.cs
- SimpleTypeResolver.cs
- DataGrid.cs
- ReachFixedDocumentSerializer.cs
- WaveHeader.cs
- Compiler.cs
- ProjectionCamera.cs
- CSharpCodeProvider.cs
- XsltArgumentList.cs
- ByteStreamGeometryContext.cs
- TemplatedAdorner.cs
- Internal.cs
- SystemColorTracker.cs
- MonthChangedEventArgs.cs
- OdbcConnectionString.cs
- ProviderUtil.cs
- TextServicesContext.cs
- InfoCardProofToken.cs
- HostingEnvironment.cs