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

Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public DictionaryHelper ( IHiveManager hive, IEnumerable installedLanguages ) : System
hive IHiveManager
installedLanguages IEnumerable
Résultat System

DictionaryHelper() public méthode

public DictionaryHelper ( IRebelApplicationContext appContext ) : System
appContext IRebelApplicationContext
Résultat System

GetDictionaryItem() public méthode

Gets a dictionary item.
public GetDictionaryItem ( string key ) : DictionaryResult
key string The key.
Résultat DictionaryResult

GetDictionaryItem() public méthode

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

GetDictionaryItemValue() public méthode

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

GetDictionaryItemValueForLanguage() public méthode

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.
Résultat string