Table of Contents

Class TlumachSettingsProvider

Namespace
Tlumach.Extensions.Localization
Assembly
Tlumach.Extensions.Localization.dll

This class keeps settings for various localizer instances bound to specific contents.

public sealed class TlumachSettingsProvider : ITlumachSettingsProvider
Inheritance
TlumachSettingsProvider
Implements
Inherited Members

Methods

AddContext(string, TlumachLocalizationOptions)

Use this method to add localizer options for the specified context.

public void AddContext(string context, TlumachLocalizationOptions options)

Parameters

context string

The context to add the options for.

options TlumachLocalizationOptions

The options to add.

GetOptionsFor(string)

Returns the options set for the given context.

public TlumachLocalizationOptions GetOptionsFor(string context)

Parameters

context string

The context to retrieve the options for.

Returns

TlumachLocalizationOptions

An instance of options or the default value if the options specific for the context were not found.