HamBook – Blame information for rev

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