add DebuggerDisplay to models
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
using PropertyChanged;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace UptimeSharp.Models
|
namespace UptimeSharp.Models
|
||||||
{
|
{
|
||||||
@@ -8,6 +9,7 @@ namespace UptimeSharp.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
[ImplementPropertyChanged]
|
||||||
|
[DebuggerDisplay("Type = {Type}, Value = {Value}")]
|
||||||
public class Alert
|
public class Alert
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using System;
|
|
||||||
using PropertyChanged;
|
using PropertyChanged;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace UptimeSharp.Models
|
namespace UptimeSharp.Models
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using PropertyChanged;
|
using PropertyChanged;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace UptimeSharp.Models
|
namespace UptimeSharp.Models
|
||||||
{
|
{
|
||||||
@@ -9,6 +10,7 @@ namespace UptimeSharp.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
[ImplementPropertyChanged]
|
[ImplementPropertyChanged]
|
||||||
|
[DebuggerDisplay("Name = {Name}, Uri = {Uri}")]
|
||||||
public class Monitor
|
public class Monitor
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user