File size: 1,460 Bytes
fab29d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Collections.Generic;

namespace VersOne.Epub.Schema
{
    /// <summary>
    /// <para>EPUB 2 guide. Provides machine-processable navigation to the key structural components of the EPUB book (e.g., cover page, table of contents, etc.).</para>
    /// <para>
    /// See <see href="https://www.w3.org/TR/epub-33/#sec-opf2-guide" />
    /// and <see href="https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6" /> for more information.
    /// </para>
    /// </summary>
    public class EpubGuide
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="EpubGuide" /> class.
        /// </summary>
        /// <param name="items">A list of EPUB 2 guide references to the key structural components of the EPUB book (e.g., cover page, table of contents, etc.).</param>
        public EpubGuide(List<EpubGuideReference>? items = null)
        {
            Items = items ?? new List<EpubGuideReference>();
        }

        /// <summary>
        /// <para>Gets a list of EPUB 2 guide references to the key structural components of the EPUB book (e.g., cover page, table of contents, etc.).</para>
        /// <para>
        /// See <see href="https://www.w3.org/TR/epub-33/#sec-opf2-guide" />
        /// and <see href="https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6" /> for more information.
        /// </para>
        /// </summary>
        public List<EpubGuideReference> Items { get; }
    }
}