Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Profile / Attributes.cs / 3 / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MatrixAnimationUsingKeyFrames.cs
- ProcessModule.cs
- XPathParser.cs
- SoapWriter.cs
- ShaperBuffers.cs
- ExpressionBuilderContext.cs
- SoapConverter.cs
- HitTestFilterBehavior.cs
- GorillaCodec.cs
- Helper.cs
- StateMachineWorkflowDesigner.cs
- Int32RectValueSerializer.cs
- PDBReader.cs
- OleAutBinder.cs
- PeerDuplexChannel.cs
- GeometryGroup.cs
- SystemNetworkInterface.cs
- CustomAttributeFormatException.cs
- PixelFormat.cs
- DatagridviewDisplayedBandsData.cs
- DependencyObjectType.cs
- BigInt.cs
- DataGridViewCheckBoxColumn.cs
- PageWrapper.cs
- TemplateKeyConverter.cs
- ObjectDataSourceEventArgs.cs
- RecordBuilder.cs
- ForeignConstraint.cs
- MatrixValueSerializer.cs
- XPathMultyIterator.cs
- GAC.cs
- CanonicalFormWriter.cs
- EntityStoreSchemaFilterEntry.cs
- ImplicitInputBrush.cs
- AssemblyBuilder.cs
- AnnotationObservableCollection.cs
- CommonBehaviorsSection.cs
- LockRecursionException.cs
- XmlSchemaGroupRef.cs
- COAUTHIDENTITY.cs
- ProviderSettings.cs
- ControlTemplate.cs
- TransformerConfigurationWizardBase.cs
- StringReader.cs
- EventBuilder.cs
- OleServicesContext.cs
- FormViewAutoFormat.cs
- entityreference_tresulttype.cs
- GridViewDeletedEventArgs.cs
- ToolStripDropDownMenu.cs
- SettingsSection.cs
- BuilderPropertyEntry.cs
- WinEventWrap.cs
- MsdtcWrapper.cs
- CqlGenerator.cs
- CoreSwitches.cs
- QilNode.cs
- BlockingCollection.cs
- DynamicObject.cs
- AnimationClockResource.cs
- NodeLabelEditEvent.cs
- Cursor.cs
- ScrollContentPresenter.cs
- HtmlShim.cs
- ConstraintManager.cs
- TokenFactoryBase.cs
- EntityDesignerBuildProvider.cs
- SqlAggregateChecker.cs
- ConfigurationManagerHelper.cs
- SynchronizedInputHelper.cs
- PeerNameRecordCollection.cs
- ExceptionValidationRule.cs
- OracleCommand.cs
- ElementAtQueryOperator.cs
- MD5Cng.cs
- TreeViewCancelEvent.cs
- BmpBitmapEncoder.cs
- HttpRequest.cs
- WindowsListViewItemCheckBox.cs
- IxmlLineInfo.cs
- NameValueConfigurationCollection.cs
- Attributes.cs
- EntityFrameworkVersions.cs
- ObjectRef.cs
- SpotLight.cs
- VisualStateChangedEventArgs.cs
- TileBrush.cs
- SecurityException.cs
- StylusPointPropertyUnit.cs
- MenuItemBindingCollection.cs
- UnsafeNativeMethodsPenimc.cs
- _OSSOCK.cs
- KeyGestureValueSerializer.cs
- LogConverter.cs
- Exceptions.cs
- SqlConnectionPoolProviderInfo.cs
- CodeExporter.cs
- FormsAuthenticationTicket.cs
- HttpMethodAttribute.cs
- WebPartMenuStyle.cs