Exemplo n.º 1
0
 public ProductSearchIndexService(ISearcher<Product, ProductSearchIndex> productSearcher,
     IGetProductCategories getProductCategories, EcommerceSearchCacheSettings ecommerceSearchCacheSettings,
     IGetProductSearchQueryObjects getProductSearchQueryObjects)
 {
     _productSearcher = productSearcher;
     _getProductCategories = getProductCategories;
     _ecommerceSearchCacheSettings = ecommerceSearchCacheSettings;
     _getProductSearchQueryObjects = getProductSearchQueryObjects;
 }
 public ProductSearchIndexService(ISearcher <Product, ProductSearchIndex> productSearcher,
                                  IGetProductCategories getProductCategories, EcommerceSearchCacheSettings ecommerceSearchCacheSettings,
                                  IGetProductSearchQueryObjects getProductSearchQueryObjects)
 {
     _productSearcher              = productSearcher;
     _getProductCategories         = getProductCategories;
     _ecommerceSearchCacheSettings = ecommerceSearchCacheSettings;
     _getProductSearchQueryObjects = getProductSearchQueryObjects;
 }