C# 클래스 Worki.Service.RentalSearchService

상속: IRentalSearchService
파일 보기 프로젝트 열기: tah91/eworkyWebSite

공개 메소드들

메소드 설명
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

메소드 상세

FillSearchResults() 공개 메소드

Fill search results from criteria search matching rental in repository
public FillSearchResults ( RentalSearchCriteria &criteria ) : void
criteria RentalSearchCriteria
리턴 void

GetCriteria() 공개 메소드

private method to create a SearchCriteria object from route data used to create search criteria from an url
public GetCriteria ( System.Web.HttpRequestBase parameters ) : RentalSearchCriteria
parameters System.Web.HttpRequestBase
리턴 RentalSearchCriteria

GetRVD() 공개 메소드

private method to create route data from a SearchCriteria object used to pass search criteria in url
public GetRVD ( RentalSearchCriteria criteria, int page = 1 ) : RouteValueDictionary
criteria RentalSearchCriteria
page int
리턴 RouteValueDictionary

GetSingleResult() 공개 메소드

Get single result for a given index, within search results
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
리턴 RentalSearchSingleResultViewModel

RentalSearchService() 공개 메소드

public RentalSearchService ( ILogger logger, IGeocodeService geocodeService ) : System
logger ILogger
geocodeService IGeocodeService
리턴 System