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

◆ ImportAnyAttributeMember()

void System.Xml.Serialization.XmlSchemaImporter.ImportAnyAttributeMember ( XmlSchemaAnyAttribute any,
CodeIdentifiers members,
CodeIdentifiers membersScope )
inlineprivate

Definition at line 1518 of file XmlSchemaImporter.cs.

1519 {
1520 SpecialMapping specialMapping = new SpecialMapping();
1521 specialMapping.TypeDesc = base.Scope.GetTypeDesc(typeof(XmlAttribute));
1523 AttributeAccessor attributeAccessor = new AttributeAccessor();
1524 attributeAccessor.Any = true;
1526 MemberMapping memberMapping = new MemberMapping();
1527 memberMapping.Elements = Array.Empty<ElementAccessor>();
1529 memberMapping.Name = membersScope.MakeRightCase("AnyAttr");
1532 memberMapping.TypeDesc = attributeAccessor.Mapping.TypeDesc;
1533 memberMapping.TypeDesc = memberMapping.TypeDesc.CreateArrayTypeDesc();
1534 }
void Add(TKey key, TValue value)

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

Referenced by System.Xml.Serialization.XmlSchemaImporter.ImportAttributeGroupMembers(), and System.Xml.Serialization.XmlSchemaImporter.ImportTypeMembers().