Winify – Blame information for rev 83
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
83 | office | 1 | using System.Collections.Generic; |
2 | using Newtonsoft.Json; |
||
3 | using System.ComponentModel; |
||
4 | using System.Runtime.CompilerServices; |
||
5 | using Winify.Properties; |
||
66 | office | 6 | |
7 | namespace Winify.Gotify |
||
8 | { |
||
83 | office | 9 | public class GotifyMessageExtras : INotifyPropertyChanged |
66 | office | 10 | { |
83 | office | 11 | private GotifyMessageExtrasClientDisplay _gotifyMessageExtrasClientDisplay = new GotifyMessageExtrasClientDisplay(); |
12 | |||
66 | office | 13 | [JsonProperty(PropertyName = "client::display")] |
83 | office | 14 | public GotifyMessageExtrasClientDisplay GotifyMessageExtrasClientDisplay |
15 | { |
||
16 | get => _gotifyMessageExtrasClientDisplay; |
||
17 | set |
||
18 | { |
||
19 | if (Equals(value, _gotifyMessageExtrasClientDisplay)) return; |
||
20 | _gotifyMessageExtrasClientDisplay = value; |
||
21 | OnPropertyChanged(); |
||
22 | } |
||
23 | } |
||
24 | |||
25 | [UsedImplicitly] |
||
26 | public GotifyMessageExtras() |
||
27 | { |
||
28 | |||
29 | } |
||
30 | |||
31 | public event PropertyChangedEventHandler PropertyChanged; |
||
32 | |||
33 | protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) |
||
34 | { |
||
35 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); |
||
36 | } |
||
66 | office | 37 | } |
38 | } |