Rebel.Cms.Web.RebelHelper.GetDictionaryItemForLanguage C# (CSharp) Method

GetDictionaryItemForLanguage() public method

public GetDictionaryItemForLanguage ( string key, string language, string defaultValue = null ) : string
key string
language string
defaultValue string
return string
        public string GetDictionaryItemForLanguage(string key, string language, string defaultValue = null)
        {
            var dictionaryHelper = new DictionaryHelper(_requestContext.Application);
            return dictionaryHelper.GetDictionaryItemValueForLanguage(key, language, defaultValue);
        }