Пример #1
0
        /// <exception cref="System.Exception"></exception>
        protected override object CreateItem()
        {
            var item = TAItem.NewTAITem(10);

            item._isRoot = true;
            return(item);
        }
Пример #2
0
            public static Item NewItem(int depth)
            {
                if (depth == 0)
                {
                    return(null);
                }
                var header = new Item(depth);

                header._next = TAItem.NewTAITem(depth - 1);
                return(header);
            }