topmostfriend/TopMostFriend/Languages/LanguageInfo.cs

22 lines
554 B
C#
Raw Normal View History

2022-08-26 00:01:04 +00:00
using System.Xml.Serialization;
namespace TopMostFriend.Languages {
public class LanguageInfo {
[XmlElement(@"Id")]
public string Id { get; set; }
[XmlElement(@"NameNative")]
public string NameNative { get; set; }
[XmlElement(@"NameEnglish")]
public string NameEnglish { get; set; }
[XmlElement(@"TargetVersion")]
public string TargetVersion { get; set; }
public override string ToString() {
return $@"{NameNative} / {NameEnglish} ({Id})";
}
}
}