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

◆ ResolveSubstitutionGroup()

void System.Xml.Schema.XmlSchemaSet.ResolveSubstitutionGroup ( XmlSchemaSubstitutionGroup substitutionGroup,
XmlSchemaObjectTable substTable )
inlineprivate

Definition at line 815 of file XmlSchemaSet.cs.

816 {
818 XmlSchemaElement xmlSchemaElement = (XmlSchemaElement)elements[substitutionGroup.Examplar];
820 {
821 return;
822 }
823 for (int i = 0; i < substitutionGroup.Members.Count; i++)
824 {
825 XmlSchemaElement xmlSchemaElement2 = (XmlSchemaElement)substitutionGroup.Members[i];
826 XmlSchemaSubstitutionGroup xmlSchemaSubstitutionGroup = (XmlSchemaSubstitutionGroup)substTable[xmlSchemaElement2.QualifiedName];
827 if (xmlSchemaSubstitutionGroup == null)
828 {
829 continue;
830 }
832 for (int j = 0; j < xmlSchemaSubstitutionGroup.Members.Count; j++)
833 {
834 XmlSchemaElement xmlSchemaElement3 = (XmlSchemaElement)xmlSchemaSubstitutionGroup.Members[j];
836 {
837 if (list == null)
838 {
840 }
842 }
843 }
844 }
845 if (list != null)
846 {
847 for (int k = 0; k < list.Count; k++)
848 {
849 substitutionGroup.Members.Add(list[k]);
850 }
851 }
853 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
void ResolveSubstitutionGroup(XmlSchemaSubstitutionGroup substitutionGroup, XmlSchemaObjectTable substTable)
XmlSchemaObjectTable elements

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaSet.elements, System.list, and System.Xml.Schema.XmlSchemaSet.ResolveSubstitutionGroup().

Referenced by System.Xml.Schema.XmlSchemaSet.ProcessNewSubstitutionGroups(), and System.Xml.Schema.XmlSchemaSet.ResolveSubstitutionGroup().