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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Localization.XmlResources
Assembly: EPiServer.Framework.dll
Version: 9.12.2
Syntax
public class EmbeddedXmlLocalizationProviderInitializer

Constructors

EmbeddedXmlLocalizationProviderInitializer()

Initializes a new instance of the EmbeddedXmlLocalizationProviderInitializer class.

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