示例#1
0
 protected List <string> GetLocalizedPossibleWords(string language)
 {
     return(language != null && LocalizedPossibleWords.ContainsKey(language)
         ? LocalizedPossibleWords[language]
         : LocalizedPossibleWords["en"]);
 }
 private List <string> GetLocalizedWordSet(string language)
 {
     return(language != null && LocalizedPossibleWords.ContainsKey(language)
         ? LocalizedPossibleWords[language]
         : LocalizedPossibleWords["en"]);
 }