public override void Validate() { base.Validate(); if (_oldStatus != Status) { _oldStatus = Status; NotifyPropertyChanged("Status"); } }
/// <summary> /// Constructs a new instance of the progress class with the specified status and count /// </summary> /// <param name="status">The status</param> /// <param name="count">The count of values in the progress</param> public FAProgress(FAStatus status, int count) { Status = status; Count = count; }
public override void Validate() { base.Validate(); if (_oldStatus != Status) { _oldStatus = Status; NotifyPropertyChanged("Status"); } if (_oldIsOn != IsOn) { _oldIsOn = IsOn; NotifyPropertyChanged("IsOn"); } if (_oldIsOff != IsOff) { _oldIsOff = IsOff; NotifyPropertyChanged("IsOff"); } }