Méthode | Description | |
---|---|---|
FillSearchResults ( RentalSearchCriteria &criteria ) : void |
Fill search results from criteria search matching rental in repository
|
|
GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria |
private method to create a SearchCriteria object from route data used to create search criteria from an url
|
|
GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary |
private method to create route data from a SearchCriteria object used to pass search criteria in url
|
|
GetSingleResult ( System.Web.HttpRequestBase parameters, int index ) : RentalSearchSingleResultViewModel |
Get single result for a given index, within search results
|
|
RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System |
public FillSearchResults ( RentalSearchCriteria &criteria ) : void | ||
criteria | RentalSearchCriteria | |
Résultat | void |
public GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria | ||
parameters | System.Web.HttpRequestBase | |
Résultat | RentalSearchCriteria |
public GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary | ||
criteria | RentalSearchCriteria | |
page | int | |
Résultat | RouteValueDictionary |
public GetSingleResult ( System.Web.HttpRequestBase parameters, int index ) : RentalSearchSingleResultViewModel | ||
parameters | System.Web.HttpRequestBase | parameters from which to build result |
index | int | index of the result item |
Résultat | RentalSearchSingleResultViewModel |
public RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System | ||
logger | ILogger | |
geocodeService | IGeocodeService | |
Résultat | System |