SaaS CMS has officially launched! Learn more now.

Class FallbackBehaviors

Specifies which behaviours that should be used as fallback when no match is found for the provided key.

Inheritance
System.Object
FallbackBehaviors
Namespace: EPiServer.Framework.Localization
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public sealed class FallbackBehaviors : Enum

Fields

Echo

The key is returned unmodified if no match is found and the key is not a complex key.

Declaration
public const FallbackBehaviors Echo
Field Value
Type Description
FallbackBehaviors

FallbackCulture

The resource is returned using the fallback culture if no match is found. Requires a fallback culture to be specified.

Declaration
public const FallbackBehaviors FallbackCulture
Field Value
Type Description
FallbackBehaviors

MissingMessage

A message saying that no resource was found is returned if no match is found.

Declaration
public const FallbackBehaviors MissingMessage
Field Value
Type Description
FallbackBehaviors

None

An empty string is returned in case of no match.

Declaration
public const FallbackBehaviors None
Field Value
Type Description
FallbackBehaviors

Null

A null string is returned in case of no match.

Declaration
public const FallbackBehaviors Null
Field Value
Type Description
FallbackBehaviors

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods