Esempio n. 1
0
        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;
 }
Esempio n. 3
0
 private void InvokeSearchParsed(string textInput, ISpecificSearch result) => SearchParsed?.Invoke(this, new SearchEngineEventArgs(result, textInput));