Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ Write50_XmlSchemaKeyref()

void System.Xml.Serialization.SchemaObjectWriter.Write50_XmlSchemaKeyref ( XmlSchemaKeyref o)
inlineprivate

Definition at line 966 of file SchemaObjectWriter.cs.

967 {
968 if (o == null)
969 {
970 return;
971 }
972 WriteStartElement("keyref");
973 WriteAttribute("id", "", o.Id);
974 WriteAttribute("name", "", o.Name);
975 WriteAttributes(o.UnhandledAttributes, o);
976 WriteAttribute("refer", "", o.Refer);
977 Write5_XmlSchemaAnnotation(o.Annotation);
978 Write49_XmlSchemaXPath("selector", "", o.Selector);
979 XmlSchemaObjectCollection fields = o.Fields;
980 if (fields != null)
981 {
982 for (int i = 0; i < fields.Count; i++)
983 {
984 Write49_XmlSchemaXPath("field", "", (XmlSchemaXPath)fields[i]);
985 }
986 }
988 }
void WriteAttribute(string localName, string ns, string value)
void Write49_XmlSchemaXPath(string name, string ns, XmlSchemaXPath o)
void WriteAttributes(XmlAttribute[] a, XmlSchemaObject o)
void Write5_XmlSchemaAnnotation(XmlSchemaAnnotation o)

References System.Collections.CollectionBase.Count, System.Xml.Dictionary, System.Xml.Serialization.SchemaObjectWriter.Write49_XmlSchemaXPath(), System.Xml.Serialization.SchemaObjectWriter.Write5_XmlSchemaAnnotation(), System.Xml.Serialization.SchemaObjectWriter.WriteAttribute(), System.Xml.Serialization.SchemaObjectWriter.WriteAttributes(), System.Xml.Serialization.SchemaObjectWriter.WriteEndElement(), and System.Xml.Serialization.SchemaObjectWriter.WriteStartElement().

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