Winify

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 67  →  ?path2? @ 83
/trunk/Winify/Gotify/GotifyMessageExtras.cs
@@ -1,10 +1,38 @@
using Newtonsoft.Json;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Winify.Properties;
 
namespace Winify.Gotify
{
public class GotifyMessageExtras
public class GotifyMessageExtras : INotifyPropertyChanged
{
private GotifyMessageExtrasClientDisplay _gotifyMessageExtrasClientDisplay = new GotifyMessageExtrasClientDisplay();
 
[JsonProperty(PropertyName = "client::display")]
public GotifyMessageExtrasClientDisplay GotifyMessageExtrasClientDisplay { get; set; }
public GotifyMessageExtrasClientDisplay GotifyMessageExtrasClientDisplay
{
get => _gotifyMessageExtrasClientDisplay;
set
{
if (Equals(value, _gotifyMessageExtrasClientDisplay)) return;
_gotifyMessageExtrasClientDisplay = value;
OnPropertyChanged();
}
}
 
[UsedImplicitly]
public GotifyMessageExtras()
{
 
}
 
public event PropertyChangedEventHandler PropertyChanged;
 
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}