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