public SearchViewModel(ISearchServiceProxy proxy, SearchType searchType) { _searchType = searchType; _proxy = proxy; _searchBarViewModel = new SearchBarViewModel(searchType); _searchBarViewModel.IsSegmented = false; _searchBarViewModel.PropertyChanged += _searchBarViewModel_PropertyChanged; _searchBarViewModel.SearchStarted += _searchBarViewModel_SearchStarted; _searchBarViewModel.SearchCancelled += _searchBarViewModel_SearchCancelled; }
public SearchViewModel(ISearchServiceProxy proxy) { _proxy = proxy; //_proxy.OnSearchStarted += _proxy_OnSearchStarted; //_proxy.OnSearchFinished += _proxy_OnSearchFinished; }
public SearchController(ISearchServiceProxy service) { this.service = service; }