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

◆ Write42_XmlSchemaComplexContentExtension()

void System.Xml.Serialization.SchemaObjectWriter.Write42_XmlSchemaComplexContentExtension ( XmlSchemaComplexContentExtension o)
inlineprivate

Definition at line 798 of file SchemaObjectWriter.cs.

799 {
800 if (o != null)
801 {
802 WriteStartElement("extension");
803 WriteAttribute("id", "", o.Id);
804 WriteAttributes(o.UnhandledAttributes, o);
805 if (!o.BaseTypeName.IsEmpty)
806 {
807 WriteAttribute("base", "", o.BaseTypeName);
808 }
809 Write5_XmlSchemaAnnotation(o.Annotation);
810 if (o.Particle is XmlSchemaSequence)
811 {
813 }
814 else if (o.Particle is XmlSchemaGroupRef)
815 {
817 }
818 else if (o.Particle is XmlSchemaChoice)
819 {
821 }
822 else if (o.Particle is XmlSchemaAll)
823 {
825 }
826 WriteSortedItems(o.Attributes);
827 Write33_XmlSchemaAnyAttribute(o.AnyAttribute);
829 }
830 }
void WriteAttribute(string localName, string ns, string value)
void WriteAttributes(XmlAttribute[] a, XmlSchemaObject o)
void Write5_XmlSchemaAnnotation(XmlSchemaAnnotation o)
void Write33_XmlSchemaAnyAttribute(XmlSchemaAnyAttribute o)
void WriteSortedItems(XmlSchemaObjectCollection items)

References System.Xml.Dictionary, System.Xml.Serialization.SchemaObjectWriter.Write33_XmlSchemaAnyAttribute(), System.Xml.Serialization.SchemaObjectWriter.Write43_XmlSchemaAll(), System.Xml.Serialization.SchemaObjectWriter.Write52_XmlSchemaChoice(), System.Xml.Serialization.SchemaObjectWriter.Write54_XmlSchemaSequence(), System.Xml.Serialization.SchemaObjectWriter.Write55_XmlSchemaGroupRef(), System.Xml.Serialization.SchemaObjectWriter.Write5_XmlSchemaAnnotation(), System.Xml.Serialization.SchemaObjectWriter.WriteAttribute(), System.Xml.Serialization.SchemaObjectWriter.WriteAttributes(), System.Xml.Serialization.SchemaObjectWriter.WriteEndElement(), System.Xml.Serialization.SchemaObjectWriter.WriteSortedItems(), and System.Xml.Serialization.SchemaObjectWriter.WriteStartElement().

Referenced by System.Xml.Serialization.SchemaObjectWriter.Write3_XmlSchemaObject(), and System.Xml.Serialization.SchemaObjectWriter.Write41_XmlSchemaComplexContent().