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

◆ Write35_XmlSchemaComplexType()

void System.Xml.Serialization.SchemaObjectWriter.Write35_XmlSchemaComplexType ( XmlSchemaComplexType o)
inlineprivate

Definition at line 670 of file SchemaObjectWriter.cs.

671 {
672 if (o != null)
673 {
674 WriteStartElement("complexType");
675 WriteAttribute("id", "", o.Id);
676 WriteAttribute("name", "", o.Name);
677 WriteAttribute("final", "", Write11_XmlSchemaDerivationMethod(o.FinalResolved));
678 if (o.IsAbstract)
679 {
680 WriteAttribute("abstract", "", XmlConvert.ToString(o.IsAbstract));
681 }
682 WriteAttribute("block", "", Write11_XmlSchemaDerivationMethod(o.BlockResolved));
683 if (o.IsMixed)
684 {
685 WriteAttribute("mixed", "", XmlConvert.ToString(o.IsMixed));
686 }
687 WriteAttributes(o.UnhandledAttributes, o);
688 Write5_XmlSchemaAnnotation(o.Annotation);
689 if (o.ContentModel is XmlSchemaComplexContent)
690 {
692 }
693 else if (o.ContentModel is XmlSchemaSimpleContent)
694 {
696 }
697 if (o.Particle is XmlSchemaSequence)
698 {
700 }
701 else if (o.Particle is XmlSchemaGroupRef)
702 {
704 }
705 else if (o.Particle is XmlSchemaChoice)
706 {
708 }
709 else if (o.Particle is XmlSchemaAll)
710 {
712 }
713 WriteSortedItems(o.Attributes);
714 Write33_XmlSchemaAnyAttribute(o.AnyAttribute);
716 }
717 }
void WriteAttribute(string localName, string ns, string value)
void WriteAttributes(XmlAttribute[] a, XmlSchemaObject o)
string Write11_XmlSchemaDerivationMethod(XmlSchemaDerivationMethod v)
void Write41_XmlSchemaComplexContent(XmlSchemaComplexContent o)
void Write5_XmlSchemaAnnotation(XmlSchemaAnnotation o)
void Write36_XmlSchemaSimpleContent(XmlSchemaSimpleContent o)
void Write33_XmlSchemaAnyAttribute(XmlSchemaAnyAttribute o)
void WriteSortedItems(XmlSchemaObjectCollection items)

References System.Xml.Dictionary, System.Xml.XmlConvert.ToString(), System.Xml.Serialization.SchemaObjectWriter.Write11_XmlSchemaDerivationMethod(), System.Xml.Serialization.SchemaObjectWriter.Write33_XmlSchemaAnyAttribute(), System.Xml.Serialization.SchemaObjectWriter.Write36_XmlSchemaSimpleContent(), System.Xml.Serialization.SchemaObjectWriter.Write41_XmlSchemaComplexContent(), 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.Write46_XmlSchemaElement().