Class EpubMetadataCreator
Creator of the book. Represents the name of a person, organization, etc. responsible for the creation of the content of the EPUB book.
See https://www.w3.org/TR/epub-33/#sec-opf-dccreator, https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.2.2, and http://purl.org/dc/elements/1.1/creator for more information.
Inherited Members
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class EpubMetadataCreator
Constructors
View SourceEpubMetadataCreator(string, string?, string?, string?, EpubTextDirection?, string?)
Initializes a new instance of the EpubMetadataCreator class.
Declaration
public EpubMetadataCreator(string creator, string? id = null, string? fileAs = null, string? role = null, EpubTextDirection? textDirection = null, string? language = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | creator | The name of the creator as the author intends it to be displayed to a user. |
| string | id | The unique ID of this EPUB metadata creator item. |
| string | fileAs | The normalized form of the name of the creator for sorting. |
| string | role | The creator's role which indicates the function the creator played in the creation of the content of the EPUB book. |
| EpubTextDirection? | textDirection | The text direction for the name of this creator or |
| string | language | The language for the name of this creator or |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The |
Properties
View SourceCreator
Gets the name of the creator as the author intends it to be displayed to a user.
See https://www.w3.org/TR/epub-33/#sec-opf-dccreator for more information.
Declaration
public string Creator { get; }
Property type: string
View SourceFileAs
Gets the normalized form of the name of the creator for sorting.
See https://www.w3.org/TR/epub-33/#file-as and https://www.w3.org/TR/epub-33/#sec-opf-dccreator for more information.
Declaration
public string? FileAs { get; }
Property type: string
View SourceId
Gets the unique ID of this EPUB metadata creator item.
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 for the name of this creator or null if the creator 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 SourceRole
Gets the creator's role which indicates the function the creator played in the creation of the content of the EPUB book.
See https://www.w3.org/TR/epub-33/#role and https://www.w3.org/TR/epub-33/#sec-opf-dccreator for more information.
Declaration
public string? Role { get; }
Property type: string
View SourceTextDirection
Gets the text direction for the name of this creator or null if the creator doesn't specify a text direction.
See https://www.w3.org/TR/epub-33/#attrdef-dir for more information.
Declaration
public EpubTextDirection? TextDirection { get; }