using System; namespace VersOne.Epub.Schema { /// /// Represents a publisher of the EPUB book. /// /// See , /// , /// and for more information. /// /// public class EpubMetadataPublisher { /// /// Initializes a new instance of the class. /// /// The name of this publisher. /// The unique ID of this publisher or null if the publisher doesn't have an ID. /// The text direction of this publisher or null if the publisher doesn't specify a text direction. /// The language of this publisher or null if the publisher doesn't specify the language. /// The parameter is null. public EpubMetadataPublisher(string publisher, string? id = null, EpubTextDirection? textDirection = null, string? language = null) { Publisher = publisher ?? throw new ArgumentNullException(nameof(publisher)); Id = id; TextDirection = textDirection; Language = language; } /// /// Gets the name of this publisher. /// /// See , /// , /// and for more information. /// /// public string Publisher { get; } /// /// Gets the unique ID of this publisher or null if the publisher doesn't have an ID. /// See for more information. /// public string? Id { get; } /// /// Gets the text direction of this publisher or null if the publisher doesn't specify a text direction. /// See for more information. /// public EpubTextDirection? TextDirection { get; } /// /// Gets the language of this publisher or null if the publisher doesn't specify the language. /// See for more information. /// public string? Language { get; } } }