using System.ComponentModel; using System.Diagnostics; using System.Runtime.Serialization; namespace MediaBrowser.Model.Dto { /// /// Class StudioDto /// [DebuggerDisplay("Name = {Name}")] public class StudioDto { /// /// Gets or sets the name. /// /// The name. public string Name { get; set; } /// /// Gets or sets the identifier. /// /// The identifier. public string Id { get; set; } /// /// Gets or sets the primary image tag. /// /// The primary image tag. public string PrimaryImageTag { get; set; } /// /// Gets a value indicating whether this instance has primary image. /// /// true if this instance has primary image; otherwise, false. [IgnoreDataMember] public bool HasPrimaryImage { get { return PrimaryImageTag != null; } } /// /// Occurs when [property changed]. /// public event PropertyChangedEventHandler PropertyChanged; } }