Winify – Diff between revs 44 and 50
?pathlinks?
Rev 44 | Rev 50 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | [XmlRoot(Namespace = "urn:winify-configuration-schema", ElementName = "Configuration")] |
8 | [XmlRoot(Namespace = "urn:winify-configuration-schema", ElementName = "Configuration")] |
|
9 | public class Configuration : INotifyPropertyChanged |
9 | public class Configuration : INotifyPropertyChanged |
|
10 | { |
10 | { |
|
11 | private bool _launchOnBoot; |
11 | private bool _launchOnBoot; |
|
12 | private bool _ignoreSelfSignedCertificates; |
12 | private bool _ignoreSelfSignedCertificates; |
|
- | 13 | private Proxy _proxy = new Proxy(); |
||
Line 13... | Line 14... | |||
13 | |
14 | |
|
14 | public bool LaunchOnBoot |
15 | public bool LaunchOnBoot |
|
15 | { |
16 | { |
|
16 | get => _launchOnBoot; |
17 | get => _launchOnBoot; |
|
Line 31... | Line 32... | |||
31 | _ignoreSelfSignedCertificates = value; |
32 | _ignoreSelfSignedCertificates = value; |
|
32 | OnPropertyChanged(); |
33 | OnPropertyChanged(); |
|
33 | } |
34 | } |
|
34 | } |
35 | } |
|
Line -... | Line 36... | |||
- | 36 | |
||
- | 37 | public Proxy Proxy |
||
- | 38 | { |
||
- | 39 | get => _proxy; |
||
- | 40 | set |
||
- | 41 | { |
||
- | 42 | if (Equals(value, _proxy)) return; |
||
- | 43 | _proxy = value; |
||
- | 44 | OnPropertyChanged(); |
||
- | 45 | } |
||
- | 46 | } |
||
- | 47 | |
||
- | 48 | [UsedImplicitly] |
||
- | 49 | public Configuration() |
||
- | 50 | { |
||
- | 51 | |
||
- | 52 | } |
||
35 | |
53 | |
|
Line 36... | Line 54... | |||
36 | public event PropertyChangedEventHandler PropertyChanged; |
54 | public event PropertyChangedEventHandler PropertyChanged; |
|
37 | |
55 | |
|
38 | [NotifyPropertyChangedInvocator] |
56 | [NotifyPropertyChangedInvocator] |