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());
 }
Beispiel #2
0
 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());
 }
Beispiel #3
0
 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();
 }