// -------------------------------------------------------------------------------------------------------------------- // // This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License. // // // An MetaData Class // // -------------------------------------------------------------------------------------------------------------------- namespace HandBrakeWPF.Services.Encode.Model.Models { /// /// The meta data. /// public class MetaData { private string albumArtist; /// /// Initializes a new instance of the class. /// public MetaData() { } /// /// Initializes a new instance of the class. /// /// /// The metadata. /// public MetaData(MetaData metadata) { if (metadata != null) { this.AlbumArtist = metadata.AlbumArtist; this.Artist = metadata.Artist; this.Comment = metadata.Comment; this.Composer = metadata.Composer; this.Description = metadata.Description; this.Genre = metadata.Genre; this.LongDescription = metadata.LongDescription; this.Name = metadata.Name; this.ReleaseDate = metadata.ReleaseDate; } } /// /// Gets or sets the album artist. /// public string AlbumArtist { get { return this.albumArtist; } set { this.albumArtist = value; } } /// /// Gets or sets the artist. /// public string Artist { get; set; } /// /// Gets or sets the comment. /// public string Comment { get; set; } /// /// Gets or sets the composer. /// public string Composer { get; set; } /// /// Gets or sets the description. /// public string Description { get; set; } /// /// Gets or sets the genre. /// public string Genre { get; set; } /// /// Gets or sets the long description. /// public string LongDescription { get; set; } /// /// Gets or sets the name. /// public string Name { get; set; } /// /// Gets or sets the release date. /// public string ReleaseDate { get; set; } } }