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

◆ CopyIncludedComponents()

void System.Xml.Schema.Preprocessor.CopyIncludedComponents ( XmlSchema includedSchema,
XmlSchema schema )
inlineprivate

Definition at line 687 of file Preprocessor.cs.

688 {
689 foreach (XmlSchemaElement value in includedSchema.Elements.Values)
690 {
691 AddToTable(schema.Elements, value.QualifiedName, value);
692 }
693 foreach (XmlSchemaAttribute value2 in includedSchema.Attributes.Values)
694 {
695 AddToTable(schema.Attributes, value2.QualifiedName, value2);
696 }
697 foreach (XmlSchemaGroup value3 in includedSchema.Groups.Values)
698 {
699 AddToTable(schema.Groups, value3.QualifiedName, value3);
700 }
701 foreach (XmlSchemaAttributeGroup value4 in includedSchema.AttributeGroups.Values)
702 {
703 AddToTable(schema.AttributeGroups, value4.QualifiedName, value4);
704 }
705 foreach (XmlSchemaType value5 in includedSchema.SchemaTypes.Values)
706 {
707 AddToTable(schema.SchemaTypes, value5.QualifiedName, value5);
708 }
709 foreach (XmlSchemaNotation value6 in includedSchema.Notations.Values)
710 {
711 AddToTable(schema.Notations, value6.QualifiedName, value6);
712 }
713 }
void AddToTable(XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)

References System.Xml.Schema.BaseProcessor.AddToTable(), System.value, and System.Collections.Generic.Dictionary< TKey, TValue >.Values.

Referenced by System.Xml.Schema.Preprocessor.Preprocess().