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

View File

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

View File

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

View File

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

View File

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