using System; namespace VersOne.Epub.Schema { /// /// /// Parsed content of the reference to an element (typically, a textual element) in the EPUB content document. /// This class corresponds to the <text> element in a media overlay document. /// /// See for more information. /// public class SmilText { /// /// Initializes a new instance of the class. /// /// An optional identifier of this element. /// The relative IRI reference of the corresponding EPUB content document, including a fragment identifier that references the specific element. /// The parameter is null. public SmilText(string? id, string src) { Id = id; Src = src ?? throw new ArgumentNullException(nameof(src)); } /// /// Gets an optional identifier of this element. If present, this value is unique within the scope of the media overlay document. /// public string? Id { get; } /// /// Gets the relative IRI reference of the corresponding EPUB content document, including a fragment identifier that references the specific element. /// public string Src { get; } } }