2using System.Collections.Generic;
13 private readonly XmlElement xml;
14 private readonly
Uri uri;
15 private readonly
string mimetype;
16 private readonly
string url;
17 private readonly
int width;
18 private readonly
int height;
19 private readonly
int depth;
25 foreach (XmlNode N
in Xml.ChildNodes)
30 this.mimetype = N.InnerText;
34 this.width =
int.Parse(N.InnerText);
38 this.height =
int.Parse(N.InnerText);
42 this.depth =
int.Parse(N.InnerText);
46 this.url = N.InnerText;
47 this.uri =
new Uri(BaseUri, this.url);
56 public XmlElement
Xml => this.xml;
71 public string Url => this.url;
Contains information about an icon.
string Mimetype
Internet Content Type
int Depth
Color depth of icon
override string ToString()
XmlElement Xml
Underlying XML definition.