C# Class Rebel.Cms.Web.Dictionary.DictionaryHelper

Mostrar archivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
DictionaryHelper ( IHiveManager hive, IEnumerable installedLanguages ) : System
DictionaryHelper ( IRebelApplicationContext appContext ) : System
GetDictionaryItem ( string key ) : DictionaryResult

Gets a dictionary item.

GetDictionaryItem ( string key, string language ) : DictionaryResult

Gets a dictionary item.

GetDictionaryItemValue ( string key, string defaultValue = null ) : string

Gets a dictionary item value.

GetDictionaryItemValueForLanguage ( string key, string language, string defaultValue = null ) : string

Gets a dictionary item value.

Method Details

DictionaryHelper() public method

public DictionaryHelper ( IHiveManager hive, IEnumerable installedLanguages ) : System
hive IHiveManager
installedLanguages IEnumerable
return System

DictionaryHelper() public method

public DictionaryHelper ( IRebelApplicationContext appContext ) : System
appContext IRebelApplicationContext
return System

GetDictionaryItem() public method

Gets a dictionary item.
public GetDictionaryItem ( string key ) : DictionaryResult
key string The key.
return DictionaryResult

GetDictionaryItem() public method

Gets a dictionary item.
public GetDictionaryItem ( string key, string language ) : DictionaryResult
key string The key.
language string The language.
return DictionaryResult

GetDictionaryItemValue() public method

Gets a dictionary item value.
public GetDictionaryItemValue ( string key, string defaultValue = null ) : string
key string The key.
defaultValue string The default value.
return string

GetDictionaryItemValueForLanguage() public method

Gets a dictionary item value.
public GetDictionaryItemValueForLanguage ( string key, string language, string defaultValue = null ) : string
key string The key.
language string The language.
defaultValue string The default value.
return string