Ejemplo n.º 1
0
 public PageableCatalogResultViewModel(VirtualObservatoryResponseBase result, VirtualObservatorySearchRequest request)
 {
     _request = request as CatalogSearchRequest;
     CatalogSearchResult catalogsResult = result as CatalogSearchResult;
     _catalogs = new PageableCollection<Catalog>(catalogsResult.Catalogs);
 }
Ejemplo n.º 2
0
 public PageableCatalogResultViewModel(ISearchResultBase result, ISearchRequest request)
 {
     _request = request as CatalogSearchRequest;
     CatalogSearchResult catalogsResult = result as CatalogSearchResult;
     _catalogs = new PageableCollection<Catalog>(catalogsResult.Catalogs);
 }