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
- QueryOutputWriter.cs
- HandlerElement.cs
- MemberPathMap.cs
- ReturnType.cs
- WindowsHyperlink.cs
- safesecurityhelperavalon.cs
- Rectangle.cs
- ByteArrayHelperWithString.cs
- IdentityValidationException.cs
- HuffModule.cs
- Triangle.cs
- BufferAllocator.cs
- DetailsViewCommandEventArgs.cs
- CommentEmitter.cs
- ProxyWebPartManager.cs
- DataGridViewTopLeftHeaderCell.cs
- SchemaObjectWriter.cs
- ArgumentDesigner.xaml.cs
- ConnectionStringsSection.cs
- RemotingSurrogateSelector.cs
- ObjectStateEntryDbDataRecord.cs
- ReadOnlyPermissionSet.cs
- SingleAnimation.cs
- ICollection.cs
- TextRunProperties.cs
- ModelItem.cs
- Exceptions.cs
- PostBackTrigger.cs
- PEFileReader.cs
- clipboard.cs
- RegexInterpreter.cs
- ClickablePoint.cs
- KerberosTicketHashIdentifierClause.cs
- Accessible.cs
- OperatingSystem.cs
- TrustLevel.cs
- Int32RectConverter.cs
- XamlRtfConverter.cs
- DataControlReference.cs
- Converter.cs
- DeflateStream.cs
- RowSpanVector.cs
- TimeSpanConverter.cs
- DbConnectionPoolCounters.cs
- ConfigurationSectionCollection.cs
- TextEffectCollection.cs
- HierarchicalDataBoundControl.cs
- XsltLibrary.cs
- SqlNodeAnnotation.cs
- Timer.cs
- AuthenticationServiceManager.cs
- BaseDataListDesigner.cs
- BidirectionalDictionary.cs
- KerberosReceiverSecurityToken.cs
- ItemContainerGenerator.cs
- SerializationSectionGroup.cs
- WindowPattern.cs
- TraceSource.cs
- GeneratedContractType.cs
- MarkupCompiler.cs
- FormViewUpdateEventArgs.cs
- Point4DValueSerializer.cs
- LayoutExceptionEventArgs.cs
- DBCSCodePageEncoding.cs
- RuntimeConfig.cs
- SoundPlayer.cs
- CollectionConverter.cs
- XmlObjectSerializerWriteContextComplex.cs
- ProviderConnectionPointCollection.cs
- AspNetCompatibilityRequirementsAttribute.cs
- PropertyDescriptor.cs
- SqlSupersetValidator.cs
- GuidTagList.cs
- BuildProvider.cs
- DragStartedEventArgs.cs
- TemplateApplicationHelper.cs
- ObjectRef.cs
- SessionEndedEventArgs.cs
- XmlSchemaObjectCollection.cs
- WebPartVerb.cs
- ScopeCompiler.cs
- ErrorStyle.cs
- SoapSchemaMember.cs
- TextRunCacheImp.cs
- EntityDesignerUtils.cs
- TcpHostedTransportConfiguration.cs
- TypeGeneratedEventArgs.cs
- BitFlagsGenerator.cs
- WindowsFormsHelpers.cs
- DbConnectionPoolCounters.cs
- SqlGatherConsumedAliases.cs
- SignedXml.cs
- MetadataStore.cs
- ButtonAutomationPeer.cs
- Viewport3DVisual.cs
- TextHidden.cs
- ClientRuntimeConfig.cs
- FileLogRecordHeader.cs
- ExpressionTextBox.xaml.cs
- returneventsaver.cs