C# 클래스 Rebel.Cms.Web.Dictionary.DictionaryHelper

파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DictionaryHelper() 공개 메소드

public DictionaryHelper ( IHiveManager hive, IEnumerable installedLanguages ) : System
hive IHiveManager
installedLanguages IEnumerable
리턴 System

DictionaryHelper() 공개 메소드

public DictionaryHelper ( IRebelApplicationContext appContext ) : System
appContext IRebelApplicationContext
리턴 System

GetDictionaryItem() 공개 메소드

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

GetDictionaryItem() 공개 메소드

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

GetDictionaryItemValue() 공개 메소드

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

GetDictionaryItemValueForLanguage() 공개 메소드

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.
리턴 string