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

◆ Cleanup() [1/2]

void System.Xml.Schema.SchemaCollectionCompiler.Cleanup ( )
inlineprivate

Definition at line 54 of file SchemaCollectionCompiler.cs.

55 {
56 foreach (XmlSchemaGroup value in _schema.Groups.Values)
57 {
59 }
60 foreach (XmlSchemaAttributeGroup value2 in _schema.AttributeGroups.Values)
61 {
63 }
64 foreach (XmlSchemaType value3 in _schema.SchemaTypes.Values)
65 {
66 if (value3 is XmlSchemaComplexType)
67 {
68 CleanupComplexType((XmlSchemaComplexType)value3);
69 }
70 else
71 {
72 CleanupSimpleType((XmlSchemaSimpleType)value3);
73 }
74 }
75 foreach (XmlSchemaElement value4 in _schema.Elements.Values)
76 {
78 }
79 foreach (XmlSchemaAttribute value5 in _schema.Attributes.Values)
80 {
82 }
83 }
static void CleanupAttribute(XmlSchemaAttribute attribute)
static void CleanupComplexType(XmlSchemaComplexType complexType)
static void CleanupElement(XmlSchemaElement element)
static void CleanupSimpleType(XmlSchemaSimpleType simpleType)
static void CleanupAttributeGroup(XmlSchemaAttributeGroup attributeGroup)
XmlSchemaObjectTable SchemaTypes
Definition XmlSchema.cs:256
XmlSchemaObjectTable AttributeGroups
Definition XmlSchema.cs:243
XmlSchemaObjectTable Groups
Definition XmlSchema.cs:307
XmlSchemaObjectTable Attributes
Definition XmlSchema.cs:230
XmlSchemaObjectTable Elements
Definition XmlSchema.cs:269

References System.Xml.Schema.SchemaCollectionCompiler._schema, System.Xml.Schema.XmlSchema.AttributeGroups, System.Xml.Schema.XmlSchema.Attributes, System.Xml.Schema.SchemaCollectionCompiler.CleanupAttribute(), System.Xml.Schema.SchemaCollectionCompiler.CleanupAttributeGroup(), System.Xml.Schema.SchemaCollectionCompiler.CleanupComplexType(), System.Xml.Schema.SchemaCollectionCompiler.CleanupElement(), System.Xml.Schema.SchemaCollectionCompiler.CleanupGroup(), System.Xml.Schema.SchemaCollectionCompiler.CleanupSimpleType(), System.Xml.Schema.XmlSchema.Elements, System.Xml.Schema.XmlSchema.Groups, System.Xml.Schema.XmlSchema.SchemaTypes, System.value, and System.Xml.Schema.XmlSchemaObjectTable.Values.

Referenced by System.Xml.Schema.SchemaCollectionCompiler.Cleanup(), System.Xml.Schema.XmlSchema.Clone(), and System.Xml.Schema.SchemaCollectionCompiler.Execute().