Exemplo n.º 1
0
 public void ReadXml(System.Xml.XmlElement element)
 {
     element.ReadChildListXml(servers, Server.CreateFromXml, "server", "servers");
     element.ReadChildListXml(highlights, Highlight.CreateFromXml, "highlight", "highlights");
     this.BadgeDisplay  = element.GetEnumAttribute <BadgeDisplayMode>("badgeDisplay") ?? BadgeDisplayMode.Highlighted;
     this.UseMetroTheme = element.GetBoolAttribute("useMetroTheme") ?? false;
 }