using System; namespace VersOne.Epub.Schema { /// /// /// Represents a coverage of the EPUB book. A coverage is the spatial or temporal topic of the book, /// the spatial applicability of the book, or the jurisdiction under which the book is relevant. /// /// /// See , /// , /// and for more information. /// /// public class EpubMetadataCoverage { /// /// Initializes a new instance of the class. /// /// The text content of this coverage. /// The unique ID of this coverage or null if the coverage doesn't have an ID. /// The text direction of this coverage or null if the coverage doesn't specify a text direction. /// The language of this coverage or null if the coverage doesn't specify the language. /// The parameter is null. public EpubMetadataCoverage(string coverage, string? id = null, EpubTextDirection? textDirection = null, string? language = null) { Coverage = coverage ?? throw new ArgumentNullException(nameof(coverage)); Id = id; TextDirection = textDirection; Language = language; } /// /// Gets the text content of this coverage. /// /// See , /// , /// and for more information. /// /// public string Coverage { get; } /// /// Gets the unique ID of this coverage or null if the coverage doesn't have an ID. /// See for more information. /// public string? Id { get; } /// /// Gets the text direction of this coverage or null if the coverage doesn't specify a text direction. /// See for more information. /// public EpubTextDirection? TextDirection { get; } /// /// Gets the language of this coverage or null if the coverage doesn't specify the language. /// See for more information. /// public string? Language { get; } } }