/// <summary> /// Secondary constructor used for child node types. /// </summary> /// <param name="xmlDefinition">The child tree XML Definition.</param> /// <param name="xmlElement">The XML Element type (should be of .ElementType = Table or TableCount).</param> /// <param name="parentTree">The parent XML tree.</param> /// <param name="elementCount">Count of elements in this definition in this XML File.</param> public XmlCookedTree(XmlCookedDefinition xmlDefinition, XmlCookedElement xmlElement, XmlCookedTree parentTree, int elementCount) { Definition = xmlDefinition; _element = xmlElement; Parent = parentTree; Count = elementCount; _elements = new Dictionary <uint, Branch>(); }
/// <summary> /// Secondary constructor used for child node types. /// </summary> /// <param name="xmlDefinition">The child tree XML Definition.</param> /// <param name="xmlElement">The XML Element type (should be of .ElementType = Table or TableCount).</param> /// <param name="parentTree">The parent XML tree.</param> /// <param name="elementCount">Count of elements in this definition in this XML File.</param> public XmlCookedTree(XmlCookedDefinition xmlDefinition, XmlCookedElement xmlElement, XmlCookedTree parentTree, int elementCount) { Definition = xmlDefinition; _element = xmlElement; Parent = parentTree; Count = elementCount; _elements = new Dictionary<uint, Branch>(); }
/// <summary> /// Primary constructor used for root node types. /// </summary> /// <param name="xmlDefinition">The root XML Definition.</param> /// <param name="elementCount">Count of elements in this definition in this XML File.</param> public XmlCookedTree(XmlCookedDefinition xmlDefinition, int elementCount) { Definition = xmlDefinition; Count = elementCount; _elements = new Dictionary <uint, Branch>(); }
/// <summary> /// Primary constructor used for root node types. /// </summary> /// <param name="xmlDefinition">The root XML Definition.</param> /// <param name="elementCount">Count of elements in this definition in this XML File.</param> public XmlCookedTree(XmlCookedDefinition xmlDefinition, int elementCount) { Definition = xmlDefinition; Count = elementCount; _elements = new Dictionary<uint, Branch>(); }