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

◆ IsValidAttributeGroupRedefine()

bool System.Xml.Schema.BaseProcessor.IsValidAttributeGroupRedefine ( XmlSchemaObject existingObject,
XmlSchemaObject item,
XmlSchemaObjectTable table )
inlineprivateinherited

Definition at line 147 of file BaseProcessor.cs.

148 {
149 XmlSchemaAttributeGroup xmlSchemaAttributeGroup = item as XmlSchemaAttributeGroup;
150 XmlSchemaAttributeGroup xmlSchemaAttributeGroup2 = existingObject as XmlSchemaAttributeGroup;
152 {
153 if (xmlSchemaAttributeGroup2.AttributeUses.Count == 0)
154 {
155 table.Insert(xmlSchemaAttributeGroup.QualifiedName, xmlSchemaAttributeGroup);
156 return true;
157 }
158 }
160 {
161 return true;
162 }
163 return false;
164 }

References System.Xml.Dictionary, System.Xml.Schema.XmlSchemaObjectTable.Insert(), and System.item.

Referenced by System.Xml.Schema.BaseProcessor.AddToTable().