HamBook – Rev 10
?pathlinks?
using Configuration.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Configuration
{
public class Band : INotifyPropertyChanged
{
private int _min;
private int _max;
private int _meters;
public int Meters
{
get => _meters;
set
{
if (value == _meters)
{
return;
}
_meters = value;
OnPropertyChanged();
}
}
public int Min
{
get => _min;
set
{
if (value == _min)
{
return;
}
_min = value;
OnPropertyChanged();
}
}
public int Max
{
get => _max;
set
{
if (value == _max)
{
return;
}
_max = value;
OnPropertyChanged();
}
}
public event PropertyChangedEventHandler PropertyChanged;
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}