Class LocalizationServiceResourceProviderFactory
Provides ASP.NET Resource syntax to access localized EPiServer resources.
Inheritance
System.Object
LocalizationServiceResourceProviderFactory
Namespace: EPiServer.Framework.Localization
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public class LocalizationServiceResourceProviderFactory : ResourceProviderFactory
Constructors
LocalizationServiceResourceProviderFactory()
Initializes a new instance of the LocalizationServiceResourceProviderFactory class.
Declaration
public LocalizationServiceResourceProviderFactory()
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. |