Class EpubMetadataIdentifier
An identifier associated with the EPUB book, such as a UUID, DOI, or ISBN.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcidentifier, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.10, and http://purl.org/dc/elements/1.1/identifier for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataIdentifier
Constructors
View SourceEpubMetadataIdentifier(string, string?, string?)
Initializes a new instance of the EpubMetadataIdentifier class.
Declaration
public EpubMetadataIdentifier(string identifier, string? id = null, string? scheme = null)
Parameters
Type | Name | Description |
---|---|---|
string | identifier | The unambiguous identifier for the EPUB book. |
string | id | The unique ID of this EPUB metadata identifier item or |
string | scheme | The name of the system or authority that generated or assigned the identifier, for example 'ISBN' or 'DOI' or |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
Properties
View SourceId
Gets the unique ID of this EPUB metadata identifier item or null
if the metadata identifier doesn't have an ID.
See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-id for more information.
Declaration
public string? Id { get; }
Property type: string
View SourceIdentifier
Gets the unambiguous identifier for the EPUB book.
See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcidentifier for more information.
Declaration
public string Identifier { get; }
Property type: string
View SourceScheme
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 https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.10 for more information.
Declaration
public string? Scheme { get; }