Ejemplo n.º 1
0
 public SearchEngine(List <Shirt> shirts,
                     IShirtIndexer shirtIndexer,
                     IIndexHelper indexHelper,
                     ISearchResultMapper searchResultMapper)
 {
     _shirtIndexer       = shirtIndexer;
     _indexHelper        = indexHelper;
     _searchResultMapper = searchResultMapper;
     _indexedShirts      = _shirtIndexer.IndexShirts(shirts);
 }
 public SearchResultMapperTests()
 {
     _searchResultMapper = new SearchResultMapper();
     Setup();
 }
Ejemplo n.º 3
0
 public SearchDataSource(ISearchIndexClient client, ISearchResultMapper mapper)
 {
     this.client = client;
     this.mapper = mapper;
 }
Ejemplo n.º 4
0
 public SearchServiceProxy(ISearchIndexClient client, ISearchResultMapper mapper)
 {
     this.client = client;
     this.mapper = mapper;
 }
Ejemplo n.º 5
0
 public SearchAdapter(ISearchIndexClient client, ISearchResultMapper mapper)
 {
     this.client = client;
     this.mapper = mapper;
 }
 public SearchController(ISearchResultMapper mapper, IRecommendationService recommendationService)
 {
     _recommendationService = recommendationService;
     _searchResultMapper    = mapper;
 }