public PaginationRequest Build() { var request = _request; _request = CreateDefaultPaginationRequest(); return request; }
public PlaceSearchResult ByUri(PaginationRequest paginationRequest) { var searchRequest = _requestBuilder .WithLicenseInfo(paginationRequest.LicenseInfo) .WithUriPathAndQuery(paginationRequest.UriPathAndQuery) .Build(); return RetrievePlacesFor(searchRequest); }
private void WhenSearchingByPaginationUri() { _paginationRequest = new PaginationRequest { LicenseInfo = _aLicenseInfo, UriPathAndQuery = PaginationUri }; _placeSearchRetrievedByProvider = _provider.ByUri(_paginationRequest); }
public PaginationRequestBuilder() { _request = CreateDefaultPaginationRequest(); }