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);
     }
 }
예제 #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);
            }
        }
예제 #3
0
        private void SearchComplete(object sender, SearchCompleteEventArgs e)
        {

            _model.SearchResults.AddResults(e.Results);
        }        
예제 #4
0
 private void SearchComplete(object sender, SearchCompleteEventArgs e)
 {
     _model.SearchResults.AddResults(e.Results);
 }