Winify – Diff between revs 6 and 12
?pathlinks?
Rev 6 | Rev 12 | |||
---|---|---|---|---|
Line 24... | Line 24... | |||
24 | _name = value; |
24 | _name = value; |
|
25 | OnPropertyChanged(); |
25 | OnPropertyChanged(); |
|
26 | } |
26 | } |
|
27 | } |
27 | } |
|
Line 28... | Line 28... | |||
28 | |
28 | |
|
29 | [XmlElement(ElementName = "Host")] |
29 | [XmlElement(ElementName = "Url")] |
|
30 | public string Host |
30 | public string Url |
|
31 | { |
31 | { |
|
32 | get => _host; |
32 | get => _url; |
|
33 | set |
33 | set |
|
34 | { |
34 | { |
|
35 | if (value == _host) |
35 | if (value == _url) |
|
36 | { |
36 | { |
|
37 | return; |
37 | return; |
|
Line 38... | Line -... | |||
38 | } |
- | ||
39 | |
- | ||
40 | _host = value; |
- | ||
41 | OnPropertyChanged(); |
- | ||
42 | } |
- | ||
43 | } |
- | ||
44 | |
- | ||
45 | [XmlElement(ElementName = "Port")] |
- | ||
46 | public string Port |
- | ||
47 | { |
- | ||
48 | get => _port; |
- | ||
49 | set |
- | ||
50 | { |
- | ||
51 | if (value == _port) |
- | ||
52 | { |
- | ||
53 | return; |
- | ||
54 | } |
38 | } |
|
55 | |
39 | |
|
56 | _port = value; |
40 | _url = value; |
|
57 | OnPropertyChanged(); |
41 | OnPropertyChanged(); |
|
Line 58... | Line 42... | |||
58 | } |
42 | } |
|
Line 92... | Line 76... | |||
92 | |
76 | |
|
Line 93... | Line 77... | |||
93 | #endregion |
77 | #endregion |
|
Line 94... | Line -... | |||
94 | |
- | ||
95 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
- | ||
96 | |
78 | |
|
Line 97... | Line 79... | |||
97 | private string _host; |
79 | #region Private Delegates, Events, Enums, Properties, Indexers and Fields |
|
Line 98... | Line 80... | |||
98 | |
80 | |
|
Line 99... | Line 81... | |||
99 | private string _name; |
81 | private string _name; |
|
Line 100... | Line 82... | |||
100 | |
82 | |
|
Line 111... | Line 93... | |||
111 | [UsedImplicitly] |
93 | [UsedImplicitly] |
|
112 | public Server() |
94 | public Server() |
|
113 | { |
95 | { |
|
114 | } |
96 | } |
|
Line 115... | Line 97... | |||
115 | |
97 | |
|
116 | public Server(string name, string host, string port, string username, string password) |
98 | public Server(string name, string url, string username, string password) |
|
117 | { |
99 | { |
|
118 | Name = name; |
- | ||
119 | Host = host; |
100 | Name = name; |
|
120 | Port = port; |
101 | Url = url; |
|
121 | Username = username; |
102 | Username = username; |
|
122 | Password = password; |
103 | Password = password; |
|
Line 123... | Line 104... | |||
123 | } |
104 | } |