示例#1
0
        public async Task Init()
        {
            if (!TocItems.Any())
            {
                ITocItem root = await Book.QueryToc(null, null);

                ListChildren(root);
            }
        }
示例#2
0
        public bool Back()
        {
            if (TocItems.Any() && TocItems.First().Level > 1)
            {
                ListChildren(TocItems.First().Parent.Parent);
                return(true);
            }

            return(false);
        }