Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Compilation / DesignTimeResourceProviderFactoryAttribute.cs / 1305376 / 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)] 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. //------------------------------------------------------------------------------ //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)] 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.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
- MetadataException.cs
- ComboBox.cs
- TextServicesManager.cs
- RowVisual.cs
- ToolboxCategory.cs
- CursorConverter.cs
- Decorator.cs
- ContentFileHelper.cs
- SoapFault.cs
- _StreamFramer.cs
- XmlAnyElementAttribute.cs
- VersionedStream.cs
- TimeZoneInfo.cs
- Visual3DCollection.cs
- SchemaTableColumn.cs
- SecurityTokenProvider.cs
- HitTestParameters3D.cs
- OptimizedTemplateContent.cs
- SessionEndingCancelEventArgs.cs
- DataControlField.cs
- SettingsPropertyWrongTypeException.cs
- LineVisual.cs
- ScrollItemPattern.cs
- RNGCryptoServiceProvider.cs
- FrameworkElement.cs
- Pen.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ExpressionEditorAttribute.cs
- DefaultValueAttribute.cs
- Vector3DValueSerializer.cs
- InstanceData.cs
- RefType.cs
- CfgArc.cs
- HtmlFormParameterReader.cs
- Guid.cs
- GenericAuthenticationEventArgs.cs
- TemplateComponentConnector.cs
- activationcontext.cs
- HGlobalSafeHandle.cs
- RefExpr.cs
- CodeLabeledStatement.cs
- SqlDataSourceCommandParser.cs
- Condition.cs
- CheckBox.cs
- ClientSettings.cs
- OleDbEnumerator.cs
- DataGridView.cs
- CategoriesDocumentFormatter.cs
- HttpModuleActionCollection.cs
- DbConnectionPool.cs
- XmlBinaryReader.cs
- HtmlTableRow.cs
- ImmutablePropertyDescriptorGridEntry.cs
- ConnectionProviderAttribute.cs
- XmlSchemaFacet.cs
- ByteFacetDescriptionElement.cs
- GestureRecognitionResult.cs
- SetterBase.cs
- DoubleIndependentAnimationStorage.cs
- SettingsContext.cs
- CryptoProvider.cs
- BamlStream.cs
- BufferedGraphicsManager.cs
- DerivedKeySecurityToken.cs
- MenuCommand.cs
- BlurBitmapEffect.cs
- ImageSource.cs
- CodeObject.cs
- ErrorProvider.cs
- RegexMatch.cs
- Point3DCollectionConverter.cs
- UITypeEditor.cs
- FusionWrap.cs
- SqlGenericUtil.cs
- EnumerableRowCollectionExtensions.cs
- SqlExpressionNullability.cs
- WebPartVerbCollection.cs
- ISFTagAndGuidCache.cs
- ParameterCollectionEditor.cs
- ExpressionBuilderContext.cs
- SizeConverter.cs
- Tuple.cs
- InvalidWMPVersionException.cs
- FormatterConverter.cs
- PropertyEmitter.cs
- MetadataCache.cs
- ExpressionBuilder.cs
- HttpRequestTraceRecord.cs
- Misc.cs
- HandlerFactoryCache.cs
- Menu.cs
- ExceptionUtil.cs
- ApplicationDirectory.cs
- BevelBitmapEffect.cs
- ConnectionProviderAttribute.cs
- OracleLob.cs
- PersonalizationStateInfoCollection.cs
- WebServiceMethodData.cs
- ToolBar.cs
- MetadataSerializer.cs