Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlImplementation.cs
Go to the documentation of this file.
1
namespace
System.Xml
;
2
3
public
class
XmlImplementation
4
{
5
private
readonly
XmlNameTable
_nameTable
;
6
7
internal
XmlNameTable
NameTable
=>
_nameTable
;
8
9
public
XmlImplementation
()
10
:
this
(
new
NameTable
())
11
{
12
}
13
14
public
XmlImplementation
(
XmlNameTable
nt
)
15
{
16
_nameTable
=
nt
;
17
}
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
}
System.Xml.NameTable
Definition
NameTable.cs:4
System.Xml.XmlDocument
Definition
XmlDocument.cs:13
System.Xml.XmlImplementation.HasFeature
bool HasFeature(string strFeature, string strVersion)
Definition
XmlImplementation.cs:19
System.Xml.XmlImplementation.CreateDocument
virtual XmlDocument CreateDocument()
Definition
XmlImplementation.cs:34
System.Xml.XmlImplementation.XmlImplementation
XmlImplementation(XmlNameTable nt)
Definition
XmlImplementation.cs:14
System.Xml.XmlImplementation.XmlImplementation
XmlImplementation()
Definition
XmlImplementation.cs:9
System.Xml.XmlImplementation._nameTable
readonly XmlNameTable _nameTable
Definition
XmlImplementation.cs:5
System.Xml.XmlImplementation
Definition
XmlImplementation.cs:4
System.Xml.XmlNameTable
Definition
XmlNameTable.cs:4
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.Xml
Definition
BaseRegionIterator.cs:1
System.StringComparison
StringComparison
Definition
StringComparison.cs:4
source
System.Private.Xml
System.Xml
XmlImplementation.cs
Generated by
1.10.0