Show / Hide Table of Contents

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/publishing/epub32/epub-packages.html#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.

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

Constructors

View Source

EpubMetadataContributor(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 null if the contributor doesn't specify a text direction.

string language

The language for the name of this contributor or null if the contributor doesn't specify the language.

Exceptions
Type Condition
ArgumentNullException

The contributor parameter is null.

Properties

View Source

Contributor

Gets the name of the contributor as the author intends it to be displayed to a user.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccontributor for more information.

Declaration
public string Contributor { get; }
Property type: string
View Source

FileAs

Gets the normalized form of the name of the contributor for sorting.

See https://www.w3.org/publishing/epub32/epub-packages.html#file-as and https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccontributor for more information.

Declaration
public string? FileAs { get; }
Property type: string
View Source

Id

Gets the unique ID of this EPUB metadata contributor item.

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

Language

Gets the language for the name of this contributor or null if the contributor doesn't specify the language.

See https://www.w3.org/publishing/epub32/epub-packages.html#attrdef-xml-lang for more information.

Declaration
public string? Language { get; }
Property type: string
View Source

Role

Gets the contributor's role which describes the nature of work performed by the contributor.

See https://www.w3.org/publishing/epub32/epub-packages.html#role and https://www.w3.org/publishing/epub32/epub-packages.html#sec-opf-dccontributor for more information.

Declaration
public string? Role { get; }
Property type: string
View Source

TextDirection

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/publishing/epub32/epub-packages.html#attrdef-dir for more information.

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