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