HamBook – Blame information for rev

Subversion Repositories:
Rev:
Rev Author Line No. Line
54 office 1 using System.ComponentModel;
14 office 2 using System.Runtime.CompilerServices;
54 office 3 using Configuration.Annotations;
14 office 4  
5 namespace Configuration
6 {
7 public class Visualisations : INotifyPropertyChanged
8 {
9 private Spectrogram _spectrogram = new Spectrogram();
10  
11 public Spectrogram Spectrogram
12 {
13 get => _spectrogram;
14 set
15 {
54 office 16 if (value == _spectrogram) return;
14 office 17  
18 _spectrogram = value;
19  
20 OnPropertyChanged();
21 }
22 }
23  
24 public event PropertyChangedEventHandler PropertyChanged;
25  
26 [NotifyPropertyChangedInvocator]
27 protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
28 {
29 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
30 }
31 }
54 office 32 }