private void UpdateDisplayedStreets() { DisplayedStreets = new ObservableCollection <Street>(Streets.Where(s => SearchAssistant.GetSearchAction(s.StreetName, StreetName, SearchAssistant.SearchType.Contains).Invoke()).Take(15).ToList()); }
private void UpdateDisplayedStreets() { DisplayedStreets = new ObservableCollection <Street>(Streets.Where(s => SearchAssistant.GetSearchAction(s.StreetName, StreetName, SearchAssistant.SearchType.Contains).Invoke()).Take(15).ToList()); }