public ArcGISPortalServiceSearchProvider() { Results = _results; PagedResults = new PagedCollectionView(Results) { PageSize = _pageSize, }; PagedResults.PageChanging += PagedResults_PageChanging; ResultsView = new ServiceSearchResultsView(); InputView = new SingleLineSearchInputView(); Properties.SetDisplayName(this, this.GetDisplayNameFromAttribute()); }
public ArcGISPortalServiceSearchProvider() { Results = _results; PagedResults = new PagedCollectionView(Results) { PageSize = _pageSize, }; PagedResults.PageChanging += PagedResults_PageChanging; ResultsView = new ServiceSearchResultsView(); InputView = new SingleLineSearchInputView(); Properties.SetDisplayName(this, this.GetDisplayNameFromAttribute()); }
public GoogleServiceSearchProvider() { Results = _results; PagedResults = new PagedCollectionView(Results) { PageSize = 12, Filter = (o) => { return(((SearchResultViewModel)o).IsInitialized); } }; Properties.SetDisplayName(this, this.GetDisplayNameFromAttribute()); ResultsView = new ServiceSearchResultsView(); InputView = new SingleLineSearchInputView(); }
public GoogleServiceSearchProvider() { Results = _results; PagedResults = new PagedCollectionView(Results) { PageSize = 12, Filter = (o) => { return ((SearchResultViewModel)o).IsInitialized; } }; Properties.SetDisplayName(this, this.GetDisplayNameFromAttribute()); ResultsView = new ServiceSearchResultsView(); InputView = new SingleLineSearchInputView(); }