using System; namespace VersOne.Epub.Schema { /// /// An identifier associated with the EPUB book, such as a UUID, DOI, or ISBN. /// /// See , /// , /// and for more information. /// /// public class EpubMetadataIdentifier { /// /// Initializes a new instance of the class. /// /// The unambiguous identifier for the EPUB book. /// The unique ID of this EPUB metadata identifier item or null if the metadata identifier doesn't have an ID. /// /// The name of the system or authority that generated or assigned the identifier, for example 'ISBN' or 'DOI' or null if the identified doesn't have a scheme. /// /// The parameter is null. public EpubMetadataIdentifier(string identifier, string? id = null, string? scheme = null) { Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier)); Id = id; Scheme = scheme; } /// /// Gets the unambiguous identifier for the EPUB book. /// See for more information. /// public string Identifier { get; } /// /// Gets the unique ID of this EPUB metadata identifier item or null if the metadata identifier doesn't have an ID. /// See for more information. /// public string? Id { get; } /// /// /// Gets the name of the system or authority that generated or assigned the identifier, for example 'ISBN' or 'DOI' or null if the identified doesn't have a scheme. /// /// See for more information. /// public string? Scheme { get; } } }