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
- LogManagementAsyncResult.cs
- SemaphoreFullException.cs
- ProviderBase.cs
- XmlConverter.cs
- MarshalByRefObject.cs
- QuaternionRotation3D.cs
- IntSecurity.cs
- CfgParser.cs
- SQLChars.cs
- WebPartDescription.cs
- SqlCharStream.cs
- TypeReference.cs
- CompositeKey.cs
- ToolStripItemRenderEventArgs.cs
- XmlSerializableServices.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Annotation.cs
- RegexCharClass.cs
- ThicknessConverter.cs
- _SingleItemRequestCache.cs
- EntityConnection.cs
- WebMethodAttribute.cs
- System.Data_BID.cs
- FixedPosition.cs
- VersionPair.cs
- FeatureManager.cs
- NativeMethods.cs
- WindowPatternIdentifiers.cs
- FixedSOMImage.cs
- IsolatedStorageFile.cs
- FormatterServices.cs
- IisTraceWebEventProvider.cs
- NativeMethods.cs
- ImageBrush.cs
- PolyQuadraticBezierSegment.cs
- CustomExpressionEventArgs.cs
- UriExt.cs
- PrimitiveCodeDomSerializer.cs
- DataGridViewLayoutData.cs
- Configuration.cs
- DataGridRowHeader.cs
- SeparatorAutomationPeer.cs
- HtmlSelectionListAdapter.cs
- AddingNewEventArgs.cs
- CodeTypeReferenceCollection.cs
- DesignerSerializationVisibilityAttribute.cs
- UrlMappingsSection.cs
- TemplateColumn.cs
- NamespaceExpr.cs
- ControlParameter.cs
- XmlAttributeCache.cs
- MatrixTransform3D.cs
- _LazyAsyncResult.cs
- OrderedDictionary.cs
- SchemaDeclBase.cs
- RtfToken.cs
- Style.cs
- TimeIntervalCollection.cs
- DecoderExceptionFallback.cs
- WebScriptEndpoint.cs
- RedistVersionInfo.cs
- SurrogateSelector.cs
- StyleBamlRecordReader.cs
- Clock.cs
- DbConnectionStringBuilder.cs
- DbProviderServices.cs
- UrlAuthFailedErrorFormatter.cs
- ObjectResult.cs
- DataGridViewCellParsingEventArgs.cs
- KeyboardEventArgs.cs
- Adorner.cs
- BoundColumn.cs
- ApplicationServiceManager.cs
- XmlNode.cs
- UserInitiatedRoutedEventPermission.cs
- FlowLayoutPanelDesigner.cs
- HttpsChannelListener.cs
- MarkerProperties.cs
- GAC.cs
- Set.cs
- _Semaphore.cs
- SQLChars.cs
- Currency.cs
- PathFigure.cs
- MediaScriptCommandRoutedEventArgs.cs
- ListViewInsertedEventArgs.cs
- EditorOptionAttribute.cs
- DataGridViewLinkColumn.cs
- LoadMessageLogger.cs
- SetterBase.cs
- Parser.cs
- TableLayout.cs
- InputReport.cs
- ACE.cs
- PreviewPageInfo.cs
- BamlLocalizer.cs
- PathFigure.cs
- AppLevelCompilationSectionCache.cs
- RepeaterCommandEventArgs.cs
- BuildProvider.cs