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
- AccessControlEntry.cs
- StandardOleMarshalObject.cs
- OleDbStruct.cs
- StorageSetMapping.cs
- DesignerCommandAdapter.cs
- TypedTableHandler.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlElementList.cs
- SystemNetworkInterface.cs
- SharedStatics.cs
- CommandSet.cs
- AttributeParameterInfo.cs
- LoginCancelEventArgs.cs
- ValidationErrorCollection.cs
- XamlBrushSerializer.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DesignerTransactionCloseEvent.cs
- ICspAsymmetricAlgorithm.cs
- HebrewCalendar.cs
- FacetDescription.cs
- EncoderNLS.cs
- XPathDocumentBuilder.cs
- XmlSchemaSimpleContent.cs
- RegexRunner.cs
- Paragraph.cs
- UnicodeEncoding.cs
- Msec.cs
- Vector3D.cs
- BaseInfoTable.cs
- RegexReplacement.cs
- SubclassTypeValidatorAttribute.cs
- ListDictionaryInternal.cs
- WebMessageEncoderFactory.cs
- DateTimeParse.cs
- Cursor.cs
- CustomTypeDescriptor.cs
- CallId.cs
- ClassImporter.cs
- OperationInvokerBehavior.cs
- AddIn.cs
- Debug.cs
- PersonalizationProviderHelper.cs
- ProfileGroupSettingsCollection.cs
- UnsafeNativeMethods.cs
- BitmapEffectGroup.cs
- DesignerTransaction.cs
- AdapterDictionary.cs
- ManipulationPivot.cs
- QilInvoke.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Binding.cs
- LoadedEvent.cs
- XmlDataCollection.cs
- ConfigurationSectionGroupCollection.cs
- COM2PropertyDescriptor.cs
- ClientBuildManager.cs
- DynamicRouteExpression.cs
- PropertyBuilder.cs
- RbTree.cs
- SafeHandles.cs
- QueryStringParameter.cs
- KeyToListMap.cs
- CustomAttributeSerializer.cs
- BackgroundWorker.cs
- ParseChildrenAsPropertiesAttribute.cs
- OleCmdHelper.cs
- TypeResolvingOptions.cs
- ToolStripArrowRenderEventArgs.cs
- HttpRequestMessageProperty.cs
- DataGridViewColumnEventArgs.cs
- clipboard.cs
- ExpressionSelection.cs
- DragCompletedEventArgs.cs
- xdrvalidator.cs
- TemplateParser.cs
- OrderedDictionary.cs
- DynamicValidatorEventArgs.cs
- CharacterMetrics.cs
- ComplexLine.cs
- CompositeFontParser.cs
- OuterGlowBitmapEffect.cs
- XmlResolver.cs
- MatrixUtil.cs
- SmiContextFactory.cs
- DataFormats.cs
- Quaternion.cs
- AjaxFrameworkAssemblyAttribute.cs
- CommandValueSerializer.cs
- _UriSyntax.cs
- PtsHelper.cs
- Hashtable.cs
- ObjectHandle.cs
- GridViewRowCollection.cs
- LineInfo.cs
- StringBlob.cs
- datacache.cs
- CatalogZoneBase.cs
- AutoFocusStyle.xaml.cs
- PackageRelationshipSelector.cs
- CompilationUtil.cs