private void OnAddToIgnoreList() { if (!RecordInfoList.Any()) { return; } CaptureServiceConfiguration.AddProcessToIgnoreList(SelectedRecordInfo.GameName); _updateProcessIgnoreListEvent.Publish(new ViewMessages.UpdateProcessIgnoreList()); SelectedRecordInfo = null; RecordInfoList.Clear(); LoadRecordList(); }
private void OnAddToIgonreList() { if (SelectedProcessToCapture == null) { return; } StopCaptureService(); CaptureServiceConfiguration.AddProcessToIgnoreList(SelectedProcessToCapture); ProcessesToIgnore.Clear(); ProcessesToIgnore.AddRange(CaptureServiceConfiguration.GetProcessIgnoreList()); SelectedProcessToCapture = null; StartCaptureService(); }