EarTrumpet.ViewModels.DeviceAppItemViewModel.UpdateFromOther C# (CSharp) 메소드

UpdateFromOther() 공개 메소드

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