private void OnSearchComplete(IEnumerable<SearchResult> results)
 {
     var handler = SearchComplete;
     if(handler != null && results != null && results.Any())
     {
         var args = new SearchCompleteEventArgs();
         args.Results = results.ToList();
         handler(this, args);
     }
 }
Ejemplo n.º 2
0
        private void OnSearchComplete(IEnumerable <SearchResult> results)
        {
            var handler = SearchComplete;

            if (handler != null && results != null && results.Any())
            {
                var args = new SearchCompleteEventArgs();
                args.Results = results.ToList();
                handler(this, args);
            }
        }
Ejemplo n.º 3
0
        private void SearchComplete(object sender, SearchCompleteEventArgs e)
        {

            _model.SearchResults.AddResults(e.Results);
        }        
Ejemplo n.º 4
0
 private void SearchComplete(object sender, SearchCompleteEventArgs e)
 {
     _model.SearchResults.AddResults(e.Results);
 }