C# Class LogoFX.Client.Mvvm.View.Infra.MarkupExtensions.LocalizedStringExtension

Inheritance: UpdatableMarkupExtension
Exibir arquivo Open project: LogoFX/LogoFX

Public Methods

Method Description
LocalizedStringExtension ( ) : System

Initializes a new instance of the LocalizedStringExtension class.

LocalizedStringExtension ( string key ) : System

Initializes a new instance of the LocalizedStringExtension class.

LocalizedStringExtension ( string key, string fallback ) : System

Initializes a new instance of the LocalizedStringExtension class.

Protected Methods

Method Description
ProvideValueInternal ( IServiceProvider serviceProvider ) : object

Provides the localization value by key specified in constructor.

Private Methods

Method Description
GetValue ( ) : object

Method Details

LocalizedStringExtension() public method

Initializes a new instance of the LocalizedStringExtension class.
public LocalizedStringExtension ( ) : System
return System

LocalizedStringExtension() public method

Initializes a new instance of the LocalizedStringExtension class.
public LocalizedStringExtension ( string key ) : System
key string The localized value will be found by this parameter.
return System

LocalizedStringExtension() public method

Initializes a new instance of the LocalizedStringExtension class.
public LocalizedStringExtension ( string key, string fallback ) : System
key string The localized value will be found by this parameter.
fallback string The value that will be returned if the localization value not found.
return System

ProvideValueInternal() protected method

Provides the localization value by key specified in constructor.
protected ProvideValueInternal ( IServiceProvider serviceProvider ) : object
serviceProvider IServiceProvider This parameter is not used.
return object