HamBook – Diff between revs 10 and 12

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 10 Rev 12
Line 12... Line 12...
12 public class Audio : INotifyPropertyChanged 12 public class Audio : INotifyPropertyChanged
13 { 13 {
14 private string _inputDeviceFriendlyName = string.Empty; 14 private string _inputDeviceFriendlyName = string.Empty;
15 private string _outputDeviceFriendlyName = string.Empty; 15 private string _outputDeviceFriendlyName = string.Empty;
Line 16... Line -...
16   -  
17 public event PropertyChangedEventHandler PropertyChanged; -  
18   16  
19 public string InputDeviceFriendlyName 17 public string InputDeviceFriendlyName
20 { 18 {
21 get => _inputDeviceFriendlyName; 19 get => _inputDeviceFriendlyName;
22 set 20 set
Line 44... Line 42...
44 _outputDeviceFriendlyName = value; 42 _outputDeviceFriendlyName = value;
45 OnPropertyChanged(); 43 OnPropertyChanged();
46 } 44 }
47 } 45 }
Line -... Line 46...
-   46  
-   47 public event PropertyChangedEventHandler PropertyChanged;
48   48  
49 [NotifyPropertyChangedInvocator] 49 [NotifyPropertyChangedInvocator]
50 protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) 50 protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
51 { 51 {
52 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); 52 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));