Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlImplementation.cs
Go to the documentation of this file.
1namespace System.Xml;
2
3public class XmlImplementation
4{
5 private readonly XmlNameTable _nameTable;
6
8
10 : this(new NameTable())
11 {
12 }
13
18
19 public bool HasFeature(string strFeature, string strVersion)
20 {
21 if (string.Equals("XML", strFeature, StringComparison.OrdinalIgnoreCase))
22 {
23 switch (strVersion)
24 {
25 case null:
26 case "1.0":
27 case "2.0":
28 return true;
29 }
30 }
31 return false;
32 }
33
34 public virtual XmlDocument CreateDocument()
35 {
36 return new XmlDocument(this);
37 }
38}
bool HasFeature(string strFeature, string strVersion)
virtual XmlDocument CreateDocument()
readonly XmlNameTable _nameTable