Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Compilation / DesignTimeResourceProviderFactoryAttribute.cs / 1 / DesignTimeResourceProviderFactoryAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class DesignTimeResourceProviderFactoryAttribute : Attribute { private string _factoryTypeName; public DesignTimeResourceProviderFactoryAttribute(Type factoryType) { _factoryTypeName = factoryType.AssemblyQualifiedName; } public DesignTimeResourceProviderFactoryAttribute(string factoryTypeName) { _factoryTypeName = factoryTypeName; } public string FactoryTypeName { get { return _factoryTypeName; } } public override bool IsDefaultAttribute() { return (_factoryTypeName == null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Allows a ResourceProviderFactory to specify the type of the associated /// DesignTimeResourceProviderFactory. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Compilation { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class DesignTimeResourceProviderFactoryAttribute : Attribute { private string _factoryTypeName; public DesignTimeResourceProviderFactoryAttribute(Type factoryType) { _factoryTypeName = factoryType.AssemblyQualifiedName; } public DesignTimeResourceProviderFactoryAttribute(string factoryTypeName) { _factoryTypeName = factoryTypeName; } public string FactoryTypeName { get { return _factoryTypeName; } } public override bool IsDefaultAttribute() { return (_factoryTypeName == null); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Allows a ResourceProviderFactory to specify the type of the associated /// DesignTimeResourceProviderFactory. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMembershipCondition.cs
- XmlCustomFormatter.cs
- ReferentialConstraint.cs
- HybridDictionary.cs
- RedBlackList.cs
- BrushMappingModeValidation.cs
- X509ChainPolicy.cs
- StandardTransformFactory.cs
- AnimationStorage.cs
- WindowsHyperlink.cs
- ProtocolsConfiguration.cs
- LocationSectionRecord.cs
- ErrorProvider.cs
- TextFormatterHost.cs
- InvalidComObjectException.cs
- PropertyChangedEventArgs.cs
- BindMarkupExtensionSerializer.cs
- SecureUICommand.cs
- versioninfo.cs
- StringUtil.cs
- XmlDictionaryString.cs
- Matrix3DValueSerializer.cs
- AmbiguousMatchException.cs
- PropertyStore.cs
- DbConnectionPoolGroup.cs
- Encoding.cs
- AsyncCompletedEventArgs.cs
- PreProcessor.cs
- BamlRecordWriter.cs
- WebServiceEnumData.cs
- DataGridRelationshipRow.cs
- TextFormatter.cs
- WindowsBrush.cs
- EntityDataSourceViewSchema.cs
- ManualResetEvent.cs
- PropertyTabChangedEvent.cs
- MembershipValidatePasswordEventArgs.cs
- SendMailErrorEventArgs.cs
- SqlXml.cs
- MediaElementAutomationPeer.cs
- WebScriptClientGenerator.cs
- ReceiveActivityDesigner.cs
- SharedConnectionInfo.cs
- PointUtil.cs
- RelatedView.cs
- RelatedView.cs
- CustomAttributeBuilder.cs
- AQNBuilder.cs
- X509Certificate.cs
- AssemblyResourceLoader.cs
- DataConnectionHelper.cs
- ProjectionCamera.cs
- SystemShuttingDownException.cs
- _SecureChannel.cs
- StopStoryboard.cs
- ListenerAdapterBase.cs
- ParallelActivityDesigner.cs
- Parsers.cs
- _LazyAsyncResult.cs
- DecimalStorage.cs
- FixedTextView.cs
- wgx_render.cs
- ItemCollection.cs
- OleDbWrapper.cs
- ControlDesigner.cs
- ColorInterpolationModeValidation.cs
- MdImport.cs
- DemultiplexingClientMessageFormatter.cs
- BaseCodePageEncoding.cs
- ObservableDictionary.cs
- DownloadProgressEventArgs.cs
- AutoCompleteStringCollection.cs
- RuntimeTrackingProfile.cs
- SettingsPropertyValue.cs
- Utils.cs
- ConnectionsZone.cs
- DataGridViewButtonColumn.cs
- ProviderSettingsCollection.cs
- TextRangeAdaptor.cs
- ValidatorCollection.cs
- LocalIdCollection.cs
- ResourceCategoryAttribute.cs
- TableStyle.cs
- ResourceWriter.cs
- DaylightTime.cs
- DataGridViewCellValidatingEventArgs.cs
- TextServicesCompartmentContext.cs
- Command.cs
- SmtpAuthenticationManager.cs
- LayoutTableCell.cs
- FrameworkRichTextComposition.cs
- HtmlInputButton.cs
- FullTrustAssembly.cs
- TextParaLineResult.cs
- LoginUtil.cs
- InternalUserCancelledException.cs
- _ListenerRequestStream.cs
- ProtocolsConfiguration.cs
- DbBuffer.cs
- LoadRetryHandler.cs