PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/CBR/CBR.Core/Models/ePUB/TableOfContent.cs

#
C# | 37 lines | 25 code | 6 blank | 6 comment | 0 complexity | 10db777c8ba3f41963ca7e04eec231a6 MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using System.Xml;
 6
 7namespace CBR.Core.Models
 8{
 9    public class TableOfContentItem
10    {
11        public string Identifier { get; set; }
12        public string PlayOrder { get; set; }
13        public string Label { get; set; }
14        public string Content { get; set; }
15
16        public List<TableOfContentItem> Children { get; set; }
17    }
18
19    public class TableOfContent
20    {
21        public string Identifier { get; set; }
22        
23        public int Depth { get; set; }
24        public int TotalPageCount { get { return 0; } }
25        public int MaxPageNumber { get { return 0; } }
26
27        /// <summary>
28        /// <Title> tag
29        /// </summary>
30        public string Title { get; set; }
31
32        /// <summary>
33        /// <NavMap><NavPoint> items
34        /// </summary>
35        public List<TableOfContentItem> NavMap { get; set; }
36    }
37}