Example #1
0
        public override void Validate()
        {
            base.Validate();

            if (_oldStatus != Status)
            {
                _oldStatus = Status;
                NotifyPropertyChanged("Status");
            }
        }
Example #2
0
 /// <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;
 }
Example #3
0
        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");
            }
        }