Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmtpLoginAuthenticationModule.cs
- EncodingDataItem.cs
- SymbolMethod.cs
- BulletDecorator.cs
- RegisteredExpandoAttribute.cs
- UnsettableComboBox.cs
- _UriSyntax.cs
- AssociationSetEnd.cs
- ArglessEventHandlerProxy.cs
- Native.cs
- TrustManagerPromptUI.cs
- LinqDataSourceView.cs
- CorrelationScope.cs
- Error.cs
- PointCollection.cs
- Thread.cs
- TextBoxLine.cs
- Gdiplus.cs
- HebrewNumber.cs
- Menu.cs
- SchemaMerger.cs
- formatstringdialog.cs
- BindingListCollectionView.cs
- DBBindings.cs
- ExpandSegmentCollection.cs
- DataConnectionHelper.cs
- DataGridViewCellLinkedList.cs
- DataGridViewCellEventArgs.cs
- RevocationPoint.cs
- EntitySqlQueryCacheEntry.cs
- ExtenderControl.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ForeignConstraint.cs
- BuildManager.cs
- MenuCommandService.cs
- ComplexBindingPropertiesAttribute.cs
- CompilerTypeWithParams.cs
- PointUtil.cs
- CursorConverter.cs
- SystemThemeKey.cs
- Typeface.cs
- InsufficientMemoryException.cs
- DesignBindingConverter.cs
- BuildManager.cs
- DataGridColumn.cs
- TextViewSelectionProcessor.cs
- CroppedBitmap.cs
- KeyTime.cs
- BamlLocalizationDictionary.cs
- MonthCalendar.cs
- PrefixQName.cs
- SQLCharsStorage.cs
- ZipIOLocalFileBlock.cs
- AsyncPostBackErrorEventArgs.cs
- DataControlFieldCollection.cs
- Binding.cs
- PageRanges.cs
- XmlTextAttribute.cs
- SerializationInfo.cs
- ModelPerspective.cs
- TagPrefixInfo.cs
- SqlDataSource.cs
- WebPartEditVerb.cs
- Bits.cs
- _KerberosClient.cs
- ProtocolsInstallComponent.cs
- HttpRequestContext.cs
- CodeBinaryOperatorExpression.cs
- CommentAction.cs
- StylusDevice.cs
- SqlUdtInfo.cs
- FormsAuthenticationConfiguration.cs
- LongPath.cs
- TextBoxAutoCompleteSourceConverter.cs
- SoapHeader.cs
- BaseUriHelper.cs
- XmlJsonWriter.cs
- SafeProcessHandle.cs
- WebPartCloseVerb.cs
- WebSysDefaultValueAttribute.cs
- InvalidPropValue.cs
- JobPageOrder.cs
- DataStorage.cs
- TextLineBreak.cs
- BitmapFrame.cs
- SelectionRangeConverter.cs
- InvalidProgramException.cs
- XamlGridLengthSerializer.cs
- BaseCodePageEncoding.cs
- MergeFailedEvent.cs
- BaseAsyncResult.cs
- ZipPackage.cs
- ProviderMetadataCachedInformation.cs
- CodeCatchClauseCollection.cs
- _ListenerResponseStream.cs
- ISFClipboardData.cs
- ScalarRestriction.cs
- FilterableAttribute.cs
- UrlMapping.cs
- Variant.cs