private List <IFlatListItem> ParseTreeToFlatList()
        {
            var newItems = new List <IFlatListItem>();

            newItems.AddRange(_treeItems.SelectMany(ti => ti.ToFlatList()));
            return(newItems);
        }