November Happy Hour will be moved to Thursday December 5th.

Class EmbeddedXmlLocalizationProviderInitializer

Initializes a new XmlLocalizationProvider using xml files stored as embedded resources.

Inheritance
System.Object
EmbeddedXmlLocalizationProviderInitializer
Namespace: EPiServer.Framework.Localization.XmlResources
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class EmbeddedXmlLocalizationProviderInitializer : Object

Constructors

EmbeddedXmlLocalizationProviderInitializer()

Declaration
public EmbeddedXmlLocalizationProviderInitializer()

Methods

GetInitializedProvider(String, Assembly[])

Extracts all embedded xml resource files and adds them to a XmlLocalizationProvider

Declaration
public virtual XmlLocalizationProvider GetInitializedProvider(string nameOfProvider, params Assembly[] assembliesContainingEmbeddedResources)
Parameters
Type Name Description
System.String nameOfProvider

The name of the provider.

System.Reflection.Assembly[] assembliesContainingEmbeddedResources

The assemblies containing embedded xml resource files.

Returns
Type Description
XmlLocalizationProvider

A new initialized provider.

Remarks

It will try to include all embedded resources that ends with ".xml" from assembliesContainingEmbeddedResources.

Extension Methods