using System; namespace VersOne.Epub.Schema { /// /// Creator of the book. Represents the name of a person, organization, etc. responsible for the creation of the content of the EPUB book. /// /// See , /// , /// and for more information. /// /// public class EpubMetadataCreator { /// /// Initializes a new instance of the class. /// /// The name of the creator as the author intends it to be displayed to a user. /// The unique ID of this EPUB metadata creator item. /// The normalized form of the name of the creator for sorting. /// The creator's role which indicates the function the creator played in the creation of the content of the EPUB book. /// The text direction for the name of this creator or null if the creator doesn't specify a text direction. /// The language for the name of this creator or null if the creator doesn't specify the language. /// The parameter is null. public EpubMetadataCreator(string creator, string? id = null, string? fileAs = null, string? role = null, EpubTextDirection? textDirection = null, string? language = null) { Creator = creator ?? throw new ArgumentNullException(nameof(creator)); Id = id; FileAs = fileAs; Role = role; TextDirection = textDirection; Language = language; } /// /// Gets the name of the creator as the author intends it to be displayed to a user. /// See for more information. /// public string Creator { get; } /// /// Gets the unique ID of this EPUB metadata creator item. /// See for more information. /// public string? Id { get; } /// /// Gets the normalized form of the name of the creator for sorting. /// /// See /// and for more information. /// /// public string? FileAs { get; } /// /// Gets the creator's role which indicates the function the creator played in the creation of the content of the EPUB book. /// /// See /// and for more information. /// /// public string? Role { get; } /// /// Gets the text direction for the name of this creator or null if the creator doesn't specify a text direction. /// See for more information. /// public EpubTextDirection? TextDirection { get; } /// /// Gets the language for the name of this creator or null if the creator doesn't specify the language. /// See for more information. /// public string? Language { get; } } }