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.
|
Method | Description | |
---|---|---|
ProvideValueInternal ( IServiceProvider serviceProvider ) : object |
Provides the localization value by key specified in constructor.
|
Method | Description | |
---|---|---|
GetValue ( ) : object |
public LocalizedStringExtension ( string key ) : System | ||
key | string | The localized value will be found by this parameter. |
return | System |
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 |
protected ProvideValueInternal ( IServiceProvider serviceProvider ) : object | ||
serviceProvider | IServiceProvider | This parameter is not used. |
return | object |