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

◆ XDR_BuildElement_Type()

static void System.Xml.Schema.XdrBuilder.XDR_BuildElement_Type ( XdrBuilder builder,
object obj,
string prefix )
inlinestaticprivate

Definition at line 1005 of file XdrBuilder.cs.

1006 {
1007 XmlQualifiedName xmlQualifiedName = (XmlQualifiedName)obj;
1008 if (!builder._SchemaInfo.ElementDecls.ContainsKey(xmlQualifiedName))
1009 {
1010 SchemaElementDecl schemaElementDecl = (SchemaElementDecl)builder._UndeclaredElements[xmlQualifiedName];
1011 if (schemaElementDecl == null)
1012 {
1013 schemaElementDecl = new SchemaElementDecl(xmlQualifiedName, prefix);
1014 builder._UndeclaredElements.Add(xmlQualifiedName, schemaElementDecl);
1015 }
1016 }
1018 if (builder._ElementDef._ExistTerminal)
1019 {
1020 builder.AddOrder();
1021 }
1022 else
1023 {
1025 }
1026 builder._contentValidator.AddName(xmlQualifiedName, null);
1027 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.ContainsKey(), System.Xml.Dictionary, System.obj, and System.prefix.