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