Show / Hide Table of Contents

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.

Inheritance
object
EpubMetadataIdentifier
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataIdentifier

Constructors

View Source

EpubMetadataIdentifier(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 null if the metadata identifier doesn't have an ID.

string scheme

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.

Exceptions
Type Condition
ArgumentNullException

The identifier parameter is null.

Properties

View Source

Id

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 Source

Identifier

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 Source

Scheme

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; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX