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
- ComponentResourceKey.cs
- OptimisticConcurrencyException.cs
- TransportChannelListener.cs
- UpdateDelegates.Generated.cs
- Underline.cs
- ResolveRequestResponseAsyncResult.cs
- BamlRecordReader.cs
- AttributedMetaModel.cs
- ObjectSecurity.cs
- KeyEvent.cs
- XamlStream.cs
- DCSafeHandle.cs
- XmlStreamStore.cs
- HtmlTableRow.cs
- GridPattern.cs
- TransformerConfigurationWizardBase.cs
- StrokeNode.cs
- XmlILStorageConverter.cs
- ButtonField.cs
- SplineKeyFrames.cs
- Aggregates.cs
- AspNetHostingPermission.cs
- ProcessThreadCollection.cs
- peernodeimplementation.cs
- MarkerProperties.cs
- SchemaName.cs
- FilterQuery.cs
- ButtonFieldBase.cs
- dbenumerator.cs
- ResXResourceSet.cs
- LogRestartAreaEnumerator.cs
- BasicDesignerLoader.cs
- ListViewPagedDataSource.cs
- SendMessageChannelCache.cs
- ObjectAssociationEndMapping.cs
- Encoding.cs
- AssemblyGen.cs
- TcpClientSocketManager.cs
- StorageComplexPropertyMapping.cs
- RegexTypeEditor.cs
- StrokeCollectionDefaultValueFactory.cs
- CodeTypeParameter.cs
- SoapCodeExporter.cs
- QueryContinueDragEvent.cs
- Font.cs
- DirectoryInfo.cs
- CapabilitiesUse.cs
- QueryCacheKey.cs
- CounterCreationDataCollection.cs
- SiteOfOriginContainer.cs
- Main.cs
- SqlWebEventProvider.cs
- DecoderBestFitFallback.cs
- ApplicationGesture.cs
- TaiwanLunisolarCalendar.cs
- ExpressionEditorSheet.cs
- TimeoutValidationAttribute.cs
- Fx.cs
- HttpListenerResponse.cs
- HashSet.cs
- ILGen.cs
- TypeDependencyAttribute.cs
- OutputCacheModule.cs
- CommonRemoteMemoryBlock.cs
- RunInstallerAttribute.cs
- X509Certificate2Collection.cs
- DiscoveryDocumentReference.cs
- TextBoxRenderer.cs
- MemberInfoSerializationHolder.cs
- ContractTypeNameCollection.cs
- CheckBoxField.cs
- SafeThreadHandle.cs
- EDesignUtil.cs
- MetadataStore.cs
- SystemEvents.cs
- XpsS0ValidatingLoader.cs
- FontWeights.cs
- AutoGeneratedField.cs
- DataProtection.cs
- UserPreferenceChangingEventArgs.cs
- PropertyCollection.cs
- HttpRawResponse.cs
- TransformerTypeCollection.cs
- XmlQualifiedNameTest.cs
- ApplicationActivator.cs
- TrackingMemoryStream.cs
- ShapeTypeface.cs
- ExpanderAutomationPeer.cs
- StringArrayConverter.cs
- PauseStoryboard.cs
- PointAnimationBase.cs
- ProviderBase.cs
- StylusTouchDevice.cs
- Inflater.cs
- SqlDataSourceStatusEventArgs.cs
- SocketAddress.cs
- EntityDataSourceValidationException.cs
- ConfigUtil.cs
- XmlObjectSerializerWriteContext.cs
- ImageListStreamer.cs