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

◆ ExportElementAccessors()

void System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessors ( XmlSchemaGroupBase group,
ElementAccessor[] accessors,
bool repeats,
bool valueTypeOptional,
string ns )
inlineprivate

Definition at line 684 of file XmlSchemaExporter.cs.

685 {
686 if (accessors.Length == 0)
687 {
688 return;
689 }
690 if (accessors.Length == 1)
691 {
693 return;
694 }
697 xmlSchemaChoice.MinOccurs = ((!repeats) ? 1 : 0);
698 for (int i = 0; i < accessors.Length; i++)
699 {
701 }
702 if (xmlSchemaChoice.Items.Count > 0)
703 {
704 group.Items.Add(xmlSchemaChoice);
705 }
706 }
void ExportElementAccessor(XmlSchemaGroupBase group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns)

References System.Xml.Dictionary, and System.Xml.Serialization.XmlSchemaExporter.ExportElementAccessor().

Referenced by System.Xml.Serialization.XmlSchemaExporter.ExportArrayMapping(), and System.Xml.Serialization.XmlSchemaExporter.ExportTypeMembers().