ImplementPropertyChanged for POCOs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace UptimeSharp.Models
|
||||
{
|
||||
@@ -6,6 +7,7 @@ namespace UptimeSharp.Models
|
||||
/// The Alert Model
|
||||
/// </summary>
|
||||
[JsonObject]
|
||||
[ImplementPropertyChanged]
|
||||
public class Alert
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace UptimeSharp.Models
|
||||
{
|
||||
@@ -8,6 +9,7 @@ namespace UptimeSharp.Models
|
||||
/// The Log Model
|
||||
/// </summary>
|
||||
[JsonObject]
|
||||
[ImplementPropertyChanged]
|
||||
public class Log
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Net;
|
||||
using Newtonsoft.Json;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace UptimeSharp.Models
|
||||
{
|
||||
@@ -12,6 +9,7 @@ namespace UptimeSharp.Models
|
||||
/// The Monitor Model implementation
|
||||
/// </summary>
|
||||
[JsonObject]
|
||||
[ImplementPropertyChanged]
|
||||
public class Monitor
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user