AvalonStudio.Debugging.WatchListViewModel.RemoveWatch C# (CSharp) Method

RemoveWatch() public method

public RemoveWatch ( WatchViewModel watch ) : void
watch WatchViewModel
return void
		public async void RemoveWatch(WatchViewModel watch)
		{
			if (watch != null)
			{
				Dispatcher.UIThread.InvokeAsync(() => { Children.Remove(watch); });

				await _debugManager.CurrentDebugger.DeleteWatchAsync(watch.Model.Id);
			}
		}