using System; using System.Collections.Generic; using System.Xml.Linq; namespace VersOne.Epub.Schema { /// /// /// The metadata of the media overlay document. This is an extension point that allows the inclusion of metadata from any metainformation structuring language. /// This class corresponds to the <metadata> element in a media overlay document. /// The content of this XML element is not parsed because EPUB 3 SMIL standard doesn't put any restrictions on its structure. /// /// See for more information. /// public class SmilMetadata { /// /// Initializes a new instance of the class. /// /// The list of XML elements within the <metadata> element in the media overlay document. /// The parameter is null. public SmilMetadata(List items) { Items = items ?? throw new ArgumentNullException(nameof(items)); } /// /// Gets the list of XML elements within the <metadata> element in the media overlay document. /// The content of these XML elements is not parsed because EPUB 3 SMIL standard doesn't put any restrictions on their structure. /// public List Items { get; } } }