Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equal()

static bool System.Xml.Schema.AxisStack.Equal ( string thisname,
string thisURN,
string name,
string URN )
inlinestaticpackage

Definition at line 39 of file AxisStack.cs.

40 {
41 if (thisURN == null)
42 {
43 if (URN != null && URN.Length != 0)
44 {
45 return false;
46 }
47 }
48 else if (thisURN.Length != 0 && thisURN != URN)
49 {
50 return false;
51 }
52 if (thisname.Length != 0 && thisname != name)
53 {
54 return false;
55 }
56 return true;
57 }

References System.Xml.Dictionary.

Referenced by System.Xml.Schema.AxisStack.MoveToAttribute(), System.Xml.Schema.AxisStack.MoveToChild(), System.Xml.Schema.AxisElement.MoveToChild(), and System.Xml.Schema.AxisStack.MoveToParent().