Class LocalizationElement

A configuration element within the EPiServer Framework section of web.config.

Inheritance
System.Object
LocalizationElement
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public class LocalizationElement : ConfigurationElement
Examples

Constructors

LocalizationElement()

Declaration
public LocalizationElement()

Properties

FallbackBehavior

Gets or sets a value describing the fallback behavior of the LocalizationService if the resource could not be found.

Declaration
public FallbackBehaviors FallbackBehavior { get; set; }
Property Value
Type Description
FallbackBehaviors

The fallback behavior enum value.

Examples

FallbackCulture

Gets or sets a value describing what fallback culture the LocalizationService should use if the resource could not be found.

Declaration
public CultureInfo FallbackCulture { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

The fallback culture identifier.

Examples

Providers

Gets the localization providers that should be used by the ProviderBasedLocalizationService to respond to resource requests.

Declaration
public ProviderSettingsCollection Providers { get; }
Property Value
Type Description
System.Configuration.ProviderSettingsCollection
Examples

Methods

InitializeWithDefaults()

Declaration
public void InitializeWithDefaults()