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

◆ ImportElement() [1/2]

ElementAccessor System.Xml.Serialization.XmlSchemaImporter.ImportElement ( XmlQualifiedName name,
Type desiredMappingType,
Type baseType )
inlineprivate

Definition at line 231 of file XmlSchemaImporter.cs.

232 {
234 ElementAccessor elementAccessor = (ElementAccessor)base.ImportedElements[xmlSchemaElement];
235 if (elementAccessor != null)
236 {
237 return elementAccessor;
238 }
240 ElementAccessor elementAccessor2 = (ElementAccessor)base.ImportedElements[xmlSchemaElement];
241 if (elementAccessor2 != null)
242 {
243 return elementAccessor2;
244 }
245 base.ImportedElements.Add(xmlSchemaElement, elementAccessor);
246 return elementAccessor;
247 }
void Add(TKey key, TValue value)
ElementAccessor ImportElement(XmlQualifiedName name, Type desiredMappingType, Type baseType)
XmlSchemaElement FindElement(XmlQualifiedName name)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Xml.Dictionary, System.Xml.Serialization.XmlSchemaImporter.FindElement(), and System.Xml.Serialization.XmlSchemaImporter.ImportElement().

Referenced by System.Xml.Serialization.XmlSchemaImporter.GatherGroupChoices(), System.Xml.Serialization.XmlSchemaImporter.ImportArrayMapping(), System.Xml.Serialization.XmlSchemaImporter.ImportDerivedTypeMapping(), System.Xml.Serialization.XmlSchemaImporter.ImportElement(), System.Xml.Serialization.XmlSchemaImporter.ImportElement(), System.Xml.Serialization.XmlSchemaImporter.ImportElementMember(), System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping(), and System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping().