add DebuggerDisplay to models

This commit is contained in:
2014-01-09 01:22:21 +01:00
parent 6fb98a33ba
commit 7c922fc53b
3 changed files with 7 additions and 3 deletions
+2
View File
@@ -1,5 +1,6 @@
using Newtonsoft.Json;
using PropertyChanged;
using System.Diagnostics;
namespace UptimeSharp.Models
{
@@ -8,6 +9,7 @@ namespace UptimeSharp.Models
/// </summary>
[JsonObject]
[ImplementPropertyChanged]
[DebuggerDisplay("Type = {Type}, Value = {Value}")]
public class Alert
{
/// <summary>
+3 -3
View File
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using System;
using Newtonsoft.Json;
using PropertyChanged;
using System;
using System.Collections.Generic;
namespace UptimeSharp.Models
{
+2
View File
@@ -1,6 +1,7 @@
using Newtonsoft.Json;
using PropertyChanged;
using System.Collections.Generic;
using System.Diagnostics;
namespace UptimeSharp.Models
{
@@ -9,6 +10,7 @@ namespace UptimeSharp.Models
/// </summary>
[JsonObject]
[ImplementPropertyChanged]
[DebuggerDisplay("Name = {Name}, Uri = {Uri}")]
public class Monitor
{
/// <summary>