EarTrumpet.ViewModels.DeviceAppItemViewModel.UpdateFromOther C# (CSharp) Method

UpdateFromOther() public method

public UpdateFromOther ( DeviceAppItemViewModel other ) : void
other DeviceAppItemViewModel
return void
        public void UpdateFromOther(DeviceAppItemViewModel other)
        {
            if (_volume == other.Volume) return;
            _volume = other.Volume;
            _isMuted = other.IsMuted;
            RaisePropertyChanged("Volume");
            RaisePropertyChanged("IsMuted");
        }