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

◆ ImportGroupMembers()

void System.Xml.Serialization.XmlSchemaImporter.ImportGroupMembers ( XmlSchemaParticle particle,
string identifier,
CodeIdentifiers members,
CodeIdentifiers membersScope,
INameScope elementsScope,
string ns,
bool groupRepeats,
ref bool mixed,
ref bool needExplicitOrder,
bool allowDuplicates,
bool allowUnboundedElements )
inlineprivate

Definition at line 1000 of file XmlSchemaImporter.cs.

1001 {
1002 if (particle is XmlSchemaGroupRef)
1003 {
1005 if (!xmlSchemaGroupRef.RefName.IsEmpty)
1006 {
1009 RemoveReference(xmlSchemaGroupRef.RefName, base.GroupsInUse);
1010 }
1011 }
1012 else
1013 {
1014 if (!(particle is XmlSchemaGroupBase))
1015 {
1016 return;
1017 }
1019 if (xmlSchemaGroupBase.IsMultipleOccurrence)
1020 {
1021 groupRepeats = true;
1022 }
1024 {
1026 return;
1027 }
1028 for (int i = 0; i < xmlSchemaGroupBase.Items.Count; i++)
1029 {
1030 object obj = xmlSchemaGroupBase.Items[i];
1032 {
1034 }
1035 else if (obj is XmlSchemaElement)
1036 {
1038 }
1039 else if (obj is XmlSchemaAny)
1040 {
1042 }
1043 else if (obj is XmlSchemaParticle)
1044 {
1046 }
1047 }
1048 }
1049 }
static string XmlCircularGroupReference
Definition SR.cs:1726
Definition SR.cs:7
void RemoveReference(XmlQualifiedName name, NameTable references)
void AddReference(XmlQualifiedName name, NameTable references, string error)
MemberMapping ImportAnyMember(XmlSchemaAny any, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates)
XmlSchemaGroup FindGroup(XmlQualifiedName name)
MemberMapping ImportChoiceGroup(XmlSchemaGroupBase group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates)
void ImportElementMember(XmlSchemaElement element, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool repeats, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements)
void ImportGroupMembers(XmlSchemaParticle particle, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, ref bool mixed, ref bool needExplicitOrder, bool allowDuplicates, bool allowUnboundedElements)

References System.Xml.Serialization.SchemaImporter.AddReference(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Serialization.XmlSchemaImporter.FindGroup(), System.Xml.Serialization.XmlSchemaImporter.GenerateOrder, System.Xml.Serialization.XmlSchemaImporter.ImportAnyMember(), System.Xml.Serialization.XmlSchemaImporter.ImportChoiceGroup(), System.Xml.Serialization.XmlSchemaImporter.ImportElementMember(), System.Xml.Serialization.XmlSchemaImporter.ImportGroupMembers(), System.obj, System.Xml.Schema.XmlSchemaGroup.Particle, System.Xml.Serialization.SchemaImporter.RemoveReference(), and System.SR.XmlCircularGroupReference.

Referenced by System.Xml.Serialization.XmlSchemaImporter.ImportGroup(), and System.Xml.Serialization.XmlSchemaImporter.ImportGroupMembers().