コード例 #1
0
 // 로컬 리스트를 지운다.
 public void Handle(LocalActorMessage.UnsubscribeMonitorLocal localID)
 {
     MainApplication.Current.Dispatcher.Invoke((Action) delegate
     {
         _viewModel.DeleteLocalData(localID);
         _viewModel.ClearWaveData(localID.ID, false);
     });
 }
コード例 #2
0
        public void DeleteLocalData(LocalActorMessage.UnsubscribeMonitorLocal local)
        {
            foreach (var obj in _listItems)
            {
                if (obj.LocalID == local.ID)
                {
                    _listItems.Remove(obj);
                    break;
                }
            }

            LocalCount = _listItems.Count.ToString();
        }