public void Search(ISpecificSearch search) { Log.Info().Message($"Applying search \"{search}\".").Write(); _currentSearch = search; var tree = BuildTree(); _pipelineNotifier.Notify(tree, Enumerable.Empty <INotification>()); Log.Debug().Message($"Applied search \"{search}\".").Write(); }
public SearchEngineEventArgs(ISpecificSearch createdSearch, string parsedText) { CreatedSearch = createdSearch; ParsedText = parsedText; }
private void InvokeSearchParsed(string textInput, ISpecificSearch result) => SearchParsed?.Invoke(this, new SearchEngineEventArgs(result, textInput));