Show / Hide Table of Contents

Class EpubMetadataSource

Represents a source of the EPUB book. A source is a related resource from which the EPUB book is derived.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.11, and http://purl.org/dc/elements/1.1/source for more information.

Inheritance
object
EpubMetadataSource
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 EpubMetadataSource

Constructors

View Source

EpubMetadataSource(string, string?)

Initializes a new instance of the EpubMetadataSource class.

Declaration
public EpubMetadataSource(string source, string? id = null)
Parameters
Type Name Description
string source

The source value.

string id

The unique ID of this source metadata element or null if the source metadata element doesn't have an ID.

Exceptions
Type Condition
ArgumentNullException

The source parameter is null.

Properties

View Source

Id

Gets the unique ID of this source metadata element or null if the source metadata element 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

Source

Gets the source value.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.11, and http://purl.org/dc/elements/1.1/source for more information.

Declaration
public string Source { get; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX