Class EpubMetadataPublisher
Represents a publisher of the EPUB book.
See https://www.w3.org/TR/epub-33/#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.5, and http://purl.org/dc/elements/1.1/publisher for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataPublisher
Constructors
View SourceEpubMetadataPublisher(string, string?, EpubTextDirection?, string?)
Initializes a new instance of the EpubMetadataPublisher class.
Declaration
public EpubMetadataPublisher(string publisher, string? id = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | publisher | The name of this publisher. |
| string | id | The unique ID of this publisher or |
| EpubTextDirection? | textDirection | The text direction of this publisher or |
| string | language | The language of this publisher or |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The |
Properties
View SourceId
Gets the unique ID of this publisher or null if the publisher doesn't have an ID.
See https://www.w3.org/TR/epub-33/#attrdef-id for more information.
Declaration
public string? Id { get; }
Property type: string
View SourceLanguage
Gets the language of this publisher or null if the publisher doesn't specify the language.
See https://www.w3.org/TR/epub-33/#attrdef-xml-lang for more information.
Declaration
public string? Language { get; }
Property type: string
View SourcePublisher
Gets the name of this publisher.
See https://www.w3.org/TR/epub-33/#sec-opf-dcmes-optional-def, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.5, and http://purl.org/dc/elements/1.1/publisher for more information.
Declaration
public string Publisher { get; }
Property type: string
View SourceTextDirection
Gets the text direction of this publisher or null if the publisher doesn't specify a text direction.
See https://www.w3.org/TR/epub-33/#attrdef-dir for more information.
Declaration
public EpubTextDirection? TextDirection { get; }