コード例 #1
0
ファイル: LanguageTask.cs プロジェクト: yhforever4/Kooboo
 public string Render(string LangCode)
 {
     if (Content != null)
     {
         return(Content);
     }
     else
     {
         return(LanguageProvider.GetValue(this.Key, LangCode));
     }
 }
コード例 #2
0
ファイル: Hardcoded.cs プロジェクト: stantoxt/Kooboo
 public static string GetValue(string key)
 {
     return(LanguageProvider.GetValue(key));
 }
コード例 #3
0
ファイル: Hardcoded.cs プロジェクト: stantoxt/Kooboo
 public static string GetValue(string key, RenderContext context)
 {
     return(LanguageProvider.GetValue(key, context));
 }