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

◆ Dump()

static string System.Xml.Serialization.XmlSchemas.Dump ( XmlSchemaObject o)
inlinestaticprivate

Definition at line 621 of file XmlSchemas.cs.

622 {
623 XmlWriterSettings xmlWriterSettings = new XmlWriterSettings();
626 XmlSerializer xmlSerializer = new XmlSerializer(o.GetType());
628 XmlWriter xmlWriter = XmlWriter.Create(stringWriter, xmlWriterSettings);
629 XmlSerializerNamespaces xmlSerializerNamespaces = new XmlSerializerNamespaces();
630 xmlSerializerNamespaces.Add("xs", "http://www.w3.org/2001/XMLSchema");
632 return stringWriter.ToString();
633 }
void Add(TKey key, TValue value)
static CultureInfo InvariantCulture

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.XmlWriter.Create(), System.Xml.Dictionary, and System.Globalization.CultureInfo.InvariantCulture.

Referenced by System.Xml.Serialization.XmlSchemas.MergeFailedMessage().