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

◆ MirgeAttributeSets()

void System.Xml.Xsl.XsltOld.RootAction.MirgeAttributeSets ( Stylesheet stylesheet)
inlineprivate

Definition at line 73 of file RootAction.cs.

74 {
75 if (stylesheet.AttributeSetTable != null)
76 {
77 foreach (AttributeSetAction value in stylesheet.AttributeSetTable.Values)
78 {
79 ArrayList arrayList = value.containedActions;
80 AttributeSetAction attributeSetAction2 = (AttributeSetAction)_attributeSetTable[value.Name];
81 if (attributeSetAction2 == null)
82 {
83 attributeSetAction2 = new AttributeSetAction();
87 }
88 ArrayList arrayList2 = attributeSetAction2.containedActions;
89 if (arrayList != null)
90 {
91 int num = arrayList.Count - 1;
92 while (0 <= num)
93 {
95 num--;
96 }
97 }
98 }
99 }
100 foreach (Stylesheet import in stylesheet.Imports)
101 {
102 MirgeAttributeSets(import);
103 }
104 }
void Add(TKey key, TValue value)
readonly Hashtable _attributeSetTable
Definition RootAction.cs:12
void MirgeAttributeSets(Stylesheet stylesheet)
Definition RootAction.cs:73

References System.Xml.Xsl.XsltOld.RootAction._attributeSetTable, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Xsl.XsltOld.Stylesheet.AttributeSetTable, System.Xml.Dictionary, System.Xml.Xsl.XsltOld.Stylesheet.Imports, System.Xml.Xsl.XsltOld.RootAction.MirgeAttributeSets(), System.value, and System.Collections.Hashtable.Values.

Referenced by System.Xml.Xsl.XsltOld.RootAction.MirgeAttributeSets(), and System.Xml.Xsl.XsltOld.RootAction.PorcessAttributeSets().