add DebuggerDisplay to models
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user