Class XmlResourceProviderFactory
Provides ASP.NET Resource syntax to access EPiServer language resources.
Inheritance
System.Object
XmlResourceProviderFactory
Namespace: EPiServer.Resources
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[Obsolete("Use EPiServer.Framework.Localization.LocalizationServiceResourceProviderFactory instead", false)]
public class XmlResourceProviderFactory : ResourceProviderFactory
Constructors
XmlResourceProviderFactory()
Initializes a new instance of the XmlResourceProviderFactory class.
Declaration
public XmlResourceProviderFactory()
Properties
FallbackProviderFactory
Gets the fallback provider factory.
Declaration
public static ResourceProviderFactory FallbackProviderFactory { get; }
Property Value
Type | Description |
---|---|
System.Web.Compilation.ResourceProviderFactory | The fallback provider factory. |
Methods
CreateGlobalResourceProvider(String)
When overridden in a derived class, creates a global resource provider.
Declaration
public override IResourceProvider CreateGlobalResourceProvider(string classKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | classKey | The name of the resource class. |
Returns
Type | Description |
---|---|
System.Web.Compilation.IResourceProvider | An System.Web.Compilation.IResourceProvider. |
CreateLocalResourceProvider(String)
When overridden in a derived class, creates a local resource provider.
Declaration
public override IResourceProvider CreateLocalResourceProvider(string virtualPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The path to a resource file. |
Returns
Type | Description |
---|---|
System.Web.Compilation.IResourceProvider | An System.Web.Compilation.IResourceProvider. |