예제 #1
0
 public XElement GetSummary(string lang)
 {
     if (LocalizedInfos.ContainsKey(lang) && LocalizedInfos[lang].Summary != null)
     {
         return(LocalizedInfos[lang].Summary);
     }
     else
     {
         return(LocalizedInfos["en"].Summary);
     }
 }
예제 #2
0
 public string GetName(string lang)
 {
     if (LocalizedInfos.ContainsKey(lang) && LocalizedInfos[lang].Name != null)
     {
         return(LocalizedInfos[lang].Name);
     }
     else
     {
         return(LocalizedInfos["en"].Name);
     }
 }