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

◆ ProcessNewSubstitutionGroups()

void System.Xml.Schema.XmlSchemaSet.ProcessNewSubstitutionGroups ( XmlSchemaObjectTable substitutionGroupsTable,
bool resolve )
inlineprivate

Definition at line 788 of file XmlSchemaSet.cs.

789 {
790 foreach (XmlSchemaSubstitutionGroup value in substitutionGroupsTable.Values)
791 {
792 if (resolve)
793 {
795 }
796 XmlQualifiedName examplar = value.Examplar;
797 XmlSchemaSubstitutionGroup xmlSchemaSubstitutionGroup2 = (XmlSchemaSubstitutionGroup)substitutionGroups[examplar];
798 if (xmlSchemaSubstitutionGroup2 != null)
799 {
800 for (int i = 0; i < value.Members.Count; i++)
801 {
802 if (!xmlSchemaSubstitutionGroup2.Members.Contains(value.Members[i]))
803 {
804 xmlSchemaSubstitutionGroup2.Members.Add(value.Members[i]);
805 }
806 }
807 }
808 else
809 {
811 }
812 }
813 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
void ResolveSubstitutionGroup(XmlSchemaSubstitutionGroup substitutionGroup, XmlSchemaObjectTable substTable)
bool AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
XmlSchemaObjectTable substitutionGroups

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Schema.XmlSchemaSet.AddToTable(), System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.Xml.Schema.XmlSchemaSet.ResolveSubstitutionGroup(), System.Xml.Schema.XmlSchemaSet.substitutionGroups, System.value, and System.Collections.Generic.Dictionary< TKey, TValue >.Values.

Referenced by System.Xml.Schema.XmlSchemaSet.CopyFromCompiledSet().