using System;
namespace VersOne.Epub.Schema
{
///
/// Represents a language of the content of the EPUB book.
///
/// See ,
/// ,
/// and for more information.
///
///
public class EpubMetadataLanguage
{
///
/// Initializes a new instance of the class.
///
/// The language tag.
/// The unique ID of this language metadata element or null if the language metadata element doesn't have an ID.
/// The parameter is null.
public EpubMetadataLanguage(string language, string? id = null)
{
Language = language ?? throw new ArgumentNullException(nameof(language));
Id = id;
}
///
/// Gets the language tag.
///
/// See
/// and for more information.
///
///
public string Language { get; }
///
/// Gets the unique ID of this language metadata element or null if the language metadata element doesn't have an ID.
/// See for more information.
///
public string? Id { get; }
}
}