private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs <IDictionary <string, List <SearchMatch> > > e) { if (currentCommand.OutputResults) { foreach (KeyValuePair <string, List <SearchMatch> > entry in currentCommand.Results) { string path = entry.Key; if (!results.ContainsKey(path)) { results[path] = new List <SearchMatch>(); } results[path].AddRange(entry.Value); } } if (queue.Count > 0) { ExecuteFirst(); } else { if (results.Count > 0) { ReportResults(); } results.Clear(); currentCommand = null; } }
static void OnRefactorComplete(object sender, RefactorCompleteEventArgs <IDictionary <string, List <SearchMatch> > > e) { if (queue.Count > 0) { ExecuteFirst(); } else { currentCommand = null; } }
/// <summary> /// /// </summary> private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs <IDictionary <string, List <PluginCore.FRService.SearchMatch> > > e) { if (queue.Count > 0) { MoveFirst(); } else { currentCommand = null; } }
private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs<IDictionary<string, List<SearchMatch>>> e) { if (currentCommand.OutputResults) { foreach (KeyValuePair<string, List<SearchMatch>> entry in currentCommand.Results) { string path = entry.Key; if (!results.ContainsKey(path)) results[path] = new List<SearchMatch>(); results[path].AddRange(entry.Value); } } if (queue.Count > 0) MoveFirst(); else { if (results.Count > 0) ReportResults(); results.Clear(); currentCommand = null; } }
private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs <IDictionary <string, List <SearchMatch> > > e) { currentCommand.OnRefactorComplete -= OnRefactorComplete; if (queue.Count == 0) { //if (currentCommand.OutputResults) //{ // PluginBase.MainForm.CallCommand("PluginCommand", "ResultsPanel.ShowResults"); //} if (startState != null) { RestoreStartState(); } currentCommand = null; startState = null; } else { ExecuteFirst(); } }
static void OnRefactorComplete(object sender, RefactorCompleteEventArgs<IDictionary<string, List<SearchMatch>>> e) { if (queue.Count > 0) ExecuteFirst(); else currentCommand = null; }
/// <summary> /// /// </summary> private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs<IDictionary<string, List<PluginCore.FRService.SearchMatch>>> e) { if (queue.Count > 0) MoveFirst(); else currentCommand = null; }
private static void OnRefactorComplete(object sender, RefactorCompleteEventArgs<IDictionary<string, List<SearchMatch>>> e) { currentCommand.OnRefactorComplete -= OnRefactorComplete; if (queue.Count == 0) { //if (currentCommand.OutputResults) //{ // PluginBase.MainForm.CallCommand("PluginCommand", "ResultsPanel.ShowResults"); //} if (startState != null) RestoreStartState(); currentCommand = null; startState = null; } else ExecuteFirst(); }