예제 #1
0
        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);
            }
        }
예제 #2
0
 public XTreeLevelInfoITRef(XTreeLevelInfoITRef parent, XTreeLevelInfoIT levelInfo)
 {
     LevelInfo         = levelInfo;
     m_parent          = parent;
     m_ownerTreeStruct = parent.OwnerTreeStruct;
 }