FallbackLocalTextSource class

namespace: Serenity.Localization   assemblySerenity.Net.Core

Adds key fallback to any ILocalTextSource implementation

public class FallbackLocalTextSource : ILocalTextRegistry
parameter description
source The local text source.

Public Members

name description
FallbackLocalTextSource(…) Adds key fallback to any ILocalTextSource implementation
Add(…) Adds a local text entry to the registry
TryGet(…) Returns localized representation which corresponds to the local text key or the fallback if none found in the registry.
static BreakUpString(…) Break up string without spaces (e.g. LastDirectoryUpdate) into a normal string (e.g. 'Last Directory Update')
static TryGetKeyFallback(…) Get a fallback of the local text key

Remarks

Initializes a new instance of the FallbackLocalTextSource class.

See Also