public XTreeLevelInfoITRef(XTreeStructInfo ownerTreeStruct, XTreeLevelInfoIT levelInfo) { LevelInfo = levelInfo; m_ownerTreeStruct = ownerTreeStruct; m_children = new XTreeLevelInfoITRef[levelInfo.ChildTreeLevelsInfoMetadata.Length]; int i = -1; foreach (XTreeLevelInfoIT childLevelInfo in levelInfo.ChildTreeLevelsInfoMetadata) { m_children[++i] = new XTreeLevelInfoITRef(this, childLevelInfo); } }
public XTreeLevelInfoITRef(XTreeLevelInfoITRef parent, XTreeLevelInfoIT levelInfo) { LevelInfo = levelInfo; m_parent = parent; m_ownerTreeStruct = parent.OwnerTreeStruct; }