HamBook – Blame information for rev 21
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
21 | office | 1 | using Configuration.Annotations; |
2 | using System; |
||
3 | using System.Collections.Concurrent; |
||
4 | using System.Collections.Generic; |
||
5 | using System.ComponentModel; |
||
6 | using System.Linq; |
||
7 | using System.Runtime.CompilerServices; |
||
8 | using System.Text; |
||
9 | using System.Threading.Tasks; |
||
10 | |||
11 | namespace Configuration |
||
12 | { |
||
13 | public class Navigation : INotifyPropertyChanged |
||
14 | { |
||
15 | private int _frequencyStep = 100; |
||
16 | |||
17 | public int FrequencyStep |
||
18 | { |
||
19 | get => _frequencyStep; |
||
20 | set |
||
21 | { |
||
22 | if (value == _frequencyStep) |
||
23 | { |
||
24 | return; |
||
25 | } |
||
26 | |||
27 | _frequencyStep = value; |
||
28 | OnPropertyChanged(); |
||
29 | } |
||
30 | } |
||
31 | |||
32 | public Navigation() |
||
33 | { |
||
34 | |||
35 | } |
||
36 | |||
37 | public event PropertyChangedEventHandler PropertyChanged; |
||
38 | |||
39 | [NotifyPropertyChangedInvocator] |
||
40 | protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) |
||
41 | { |
||
42 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); |
||
43 | } |
||
44 | } |
||
45 | } |