Toasts – Diff between revs 49 and 55
?pathlinks?
Rev 49 | Rev 55 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | using System.Drawing; |
4 | using System.Drawing; |
|
5 | using System.Linq; |
5 | using System.Linq; |
|
6 | using System.Runtime.CompilerServices; |
6 | using System.Runtime.CompilerServices; |
|
7 | using System.Text; |
7 | using System.Text; |
|
8 | using System.Threading.Tasks; |
8 | using System.Threading.Tasks; |
|
- | 9 | using Toasts.Annotations; |
||
9 | |
10 | |
|
10 | namespace Toasts |
11 | namespace Toasts |
|
11 | { |
12 | { |
|
12 | public class ToastDisplayData : INotifyPropertyChanged |
13 | public class ToastDisplayData : INotifyPropertyChanged |
|
13 | { |
14 | { |
|
14 | private string _userAgent; |
15 | private string _userAgent; |
|
Line 20... | Line 21... | |||
20 | private Image _image; |
21 | private Image _image; |
|
21 | private string _content; |
22 | private string _content; |
|
22 | private float _contentHeight; |
23 | private float _contentHeight; |
|
23 | private Point _pinPoint; |
24 | private Point _pinPoint; |
|
24 | private bool _enablePin; |
25 | private bool _enablePin; |
|
- | 26 | private Proxy _proxy; |
||
Line 25... | Line 27... | |||
25 | |
27 | |
|
26 | public string Title |
28 | public string Title |
|
27 | { |
29 | { |
|
28 | get => _title; |
30 | get => _title; |
|
Line 144... | Line 146... | |||
144 | _enablePin = value; |
146 | _enablePin = value; |
|
145 | OnPropertyChanged(); |
147 | OnPropertyChanged(); |
|
146 | } |
148 | } |
|
147 | } |
149 | } |
|
Line -... | Line 150... | |||
- | 150 | |
||
- | 151 | public Proxy Proxy |
||
- | 152 | { |
||
- | 153 | get => _proxy; |
||
- | 154 | set |
||
- | 155 | { |
||
- | 156 | if (Equals(value, _proxy)) return; |
||
- | 157 | _proxy = value; |
||
- | 158 | OnPropertyChanged(); |
||
- | 159 | } |
||
- | 160 | } |
||
- | 161 | |
||
148 | |
162 | [UsedImplicitly] |
|
149 | public ToastDisplayData() |
163 | public ToastDisplayData() |
|
Line 150... | Line 164... | |||
150 | { |
164 | { |