Added further DebuggerDisplay for DTOs

This commit is contained in:
ScottIsAFool 2014-01-18 10:03:47 +00:00
parent 0f7f467478
commit 14adda2e40
5 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using System.ComponentModel;
using System.Diagnostics;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
@ -9,6 +10,7 @@ namespace MediaBrowser.Model.LiveTv
/// <summary>
/// Class ChannelInfoDto
/// </summary>
[DebuggerDisplay("Name = {Name}, Number = {Number}")]
public class ChannelInfoDto : INotifyPropertyChanged, IItemDto
{
/// <summary>

View File

@ -1,4 +1,5 @@
using System.ComponentModel;
using System.Diagnostics;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
@ -6,6 +7,7 @@ using System.Collections.Generic;
namespace MediaBrowser.Model.LiveTv
{
[DebuggerDisplay("Name = {Name}, StartTime = {StartDate}, EndTime = {EndDate}")]
public class ProgramInfoDto : INotifyPropertyChanged
{
/// <summary>

View File

@ -1,10 +1,12 @@
using System.ComponentModel;
using System.Diagnostics;
namespace MediaBrowser.Model.LiveTv
{
/// <summary>
/// Class RecordingGroupDto.
/// </summary>
[DebuggerDisplay("Name = {Name}, Count = {RecordingCount}")]
public class RecordingGroupDto : INotifyPropertyChanged
{
/// <summary>

View File

@ -1,4 +1,5 @@
using MediaBrowser.Model.Dto;
using System.Diagnostics;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;
@ -6,6 +7,7 @@ using System.ComponentModel;
namespace MediaBrowser.Model.LiveTv
{
[DebuggerDisplay("Name = {Name}, ChannelName = {ChannelName}")]
public class RecordingInfoDto : INotifyPropertyChanged
{
/// <summary>

View File

@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace MediaBrowser.Model.LiveTv
{
[DebuggerDisplay("Name = {Name}")]
public class SeriesTimerInfoDto : INotifyPropertyChanged
{
/// <summary>