public ListOrdersQueryHandler(IQueryHandler <ListOrderStatusesCommand, List <OrderStatusDto> > listOrderStatusesQueryHandler,
                               IQueryHandler <ListShippingMethodsCommand, List <ShippingMethodDto> > listShippingMethodsQueryHandler,
                               IRemoteQuery <ListOrdersCommand, PagedList <Order> > listOrdersQuery)
 {
     _listOrderStatusesQueryHandler   = listOrderStatusesQueryHandler;
     _listShippingMethodsQueryHandler = listShippingMethodsQueryHandler;
     _listOrdersQuery = listOrdersQuery;
 }
Beispiel #2
0
 public DeleteCategoryQuery(EkShopContext dbContext,
                            IRemoteQuery <ListRoutesCommand, List <Route> > listRoutesQuery,
                            ICache cache)
     : base(dbContext)
 {
     _listRoutesQuery = listRoutesQuery;
     _cache           = cache;
 }
Beispiel #3
0
 public CreateOrGetUnconfirmedBasketQueryHandler(IQueryHandler <GetProductCommand, ProductDto> getProductQueryHandler,
                                                 IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery,
                                                 IWorkContext workContext)
 {
     _getProductQueryHandler            = getProductQueryHandler;
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
     _workContext = workContext;
 }
 public AddProductToBasketQueryHandler(IQueryHandler <GetProductCommand, ProductDto> getProductQueryHandler,
                                       IRemoteQuery <AddProductToBasketCommand, Basket> addProductToBasketQuery,
                                       IWorkContext workContext)
 {
     _getProductQueryHandler  = getProductQueryHandler;
     _addProductToBasketQuery = addProductToBasketQuery;
     _workContext             = workContext;
 }
 public AddProductToBasketQuery(EkShopContext dbContext,
                                IRemoteQuery <GetProductCommand, Product> getProductQuery,
                                IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery,
                                IWorkContext workContext)
     : base(dbContext)
 {
     _getProductQuery = getProductQuery;
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
     _workContext = workContext;
 }
 public SubmitCheckoutQueryHandler(IQueryHandler <GetCategoryByUrlCommand, CategoryDto> getCategoryByUrlQueryHandler,
                                   IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery,
                                   IRemoteQuery <ListPaymentMethodsCommand, List <PaymentMethod> > listPaymentMethodsQuery,
                                   IRemoteQuery <ListShippingMethodsCommand, List <ShippingMethod> > listShippingMethodsQuery,
                                   EkShopContext dbContext)
 {
     _getCategoryByUrlQueryHandler      = getCategoryByUrlQueryHandler;
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
     _listPaymentMethodsQuery           = listPaymentMethodsQuery;
     _listShippingMethodsQuery          = listShippingMethodsQuery;
     _dbContext = dbContext;
 }
Beispiel #7
0
 public SaveCategoryQueryHandler(IQueryHandler <GetInputFormCommand, InputFormDto> getInputFormQueryHandler,
                                 IQueryHandler <GetCategoryByUrlCommand, CategoryDto> getCategoryByUrlQueryHandler,
                                 IRemoteQuery <GetCategoryCommand, Category> categoryQuery,
                                 IRemoteQuery <ListCharacteristicsCommand, List <Characteristic> > listCharacteristicsQuery,
                                 IRemoteQuery <GetPhraseByValueCommand, Phrase> getPhraseByValueQuery,
                                 IRemoteQuery <SaveCategoryQueryCommand, Category> saveCategoryQuery,
                                 IClassifierStoresRepository classifierStoresRepository)
 {
     _getInputFormQueryHandler     = getInputFormQueryHandler;
     _getCategoryByUrlQueryHandler = getCategoryByUrlQueryHandler;
     _getCategoryQuery             = categoryQuery;
     _listCharacteristicsQuery     = listCharacteristicsQuery;
     _getPhraseByValueQuery        = getPhraseByValueQuery;
     _saveCategoryQuery            = saveCategoryQuery;
     _classifierStoresRepository   = classifierStoresRepository;
 }
 public SaveOrderQueryHandler(IQueryHandler <GetCategoryByUrlCommand, CategoryDto> getCategoryByUrlQueryHandler,
                              IRemoteQuery <ListPaymentMethodsCommand, List <PaymentMethod> > listPaymentMethodsQuery,
                              IRemoteQuery <ListShippingMethodsCommand, List <ShippingMethod> > listShippingMethodsQuery,
                              IRemoteQuery <ListOrderStatusesCommand, List <OrderStatus> > listOrderStatusesQuery,
                              IRemoteQuery <GetOrderCommand, Order> getOrderQuery,
                              EkShopContext dbContext,
                              IWorkContext workContext)
 {
     _getCategoryByUrlQueryHandler = getCategoryByUrlQueryHandler;
     _listPaymentMethodsQuery      = listPaymentMethodsQuery;
     _listShippingMethodsQuery     = listShippingMethodsQuery;
     _listOrderStatusesQuery       = listOrderStatusesQuery;
     _getOrderQuery = getOrderQuery;
     _dbContext     = dbContext;
     _workContext   = workContext;
 }
Beispiel #9
0
 public GetCategoryQueryHandler(IRemoteQuery <GetCategoryCommand, Category> getCategoryQuery,
                                IWorkContext workContext)
 {
     _getCategoryQuery = getCategoryQuery;
     _workContext      = workContext;
 }
Beispiel #10
0
 public ListProductsByCategoryQueryHandler(IRemoteQuery <ListProductsByCategoryCommand, PagedList <Product> > listProductsByCategoryQuery)
 {
     _listProductsByCategoryQuery = listProductsByCategoryQuery;
 }
Beispiel #11
0
 public GetRouteByUrlQueryHandler(IRemoteQuery <ListRoutesCommand, List <Route> > listRoutesQuery,
                                  IRemoteQuery <GetCategoryCommand, Category> getCategoryQuery)
 {
     _listRoutesQuery  = listRoutesQuery;
     _getCategoryQuery = getCategoryQuery;
 }
Beispiel #12
0
 public ClassifierBus(IRemoteQuery <ListPhrasesByNameCommand, List <Phrase> > listPhrasesByNameQuery)
 {
     ListPhrasesByNameQuery = listPhrasesByNameQuery;
 }
Beispiel #13
0
 public GetOrderQueryHandler(IRemoteQuery <GetOrderCommand, Order> getOrderQuery)
 {
     _getOrderQuery = getOrderQuery;
 }
Beispiel #14
0
 public GetSystemSettingQueryHandler(IRemoteQuery <GetSystemSettingCommand, SystemSetting> getSystemSettingQuery)
 {
     _getSystemSettingQuery = getSystemSettingQuery;
 }
Beispiel #15
0
 public ListPhrasesByTermQueryHandler(IRemoteQuery <ListPhrasesByTermCommand, List <Phrase> > listPhrasesQuery)
 {
     _listPhrasesQuery = listPhrasesQuery;
 }
 public ListRoutesQueryHandler(IRemoteQuery <ListRoutesCommand, List <Route> > listRoutesQuery)
 {
     _listRoutesQuery = listRoutesQuery;
 }
 public ClassifierStoresRepository(IRemoteQuery <ListAngularComponentsCommand, List <AngularComponent> > listAngularComponentsQuery,
                                   IRemoteQuery <ListCategoryTypesCommand, List <CategoryType> > listCategoryTypesQuery)
 {
     _listAngularComponentsQuery = listAngularComponentsQuery;
     _listCategoryTypesQuery     = listCategoryTypesQuery;
 }
Beispiel #18
0
 public DeleteCategoryQueryHandler(IRemoteQuery <DeleteCategoryCommand, Category> getCategoryQuery)
 {
     _deleteCategoryQuery = getCategoryQuery;
 }
 public DeleteBasketItemQuery(EkShopContext dbContext,
                              IRemoteQuery <CreateOrGetUnconfirmedBasketCommand, Basket> createOrGetUnconfirmedBasketQuery)
     : base(dbContext)
 {
     _createOrGetUnconfirmedBasketQuery = createOrGetUnconfirmedBasketQuery;
 }
 public GetLanguageQueryHandler(IRemoteQuery <GetLanguageCommand, Language> getLanguageQuery)
 {
     _getLanguageQuery = getLanguageQuery;
 }
 public DeleteBasketItemQueryHandler(IRemoteQuery <DeleteBasketItemCommand, BasketItem> deleteBasketItemQuery)
 {
     _deleteBasketItemQuery = deleteBasketItemQuery;
 }
Beispiel #22
0
 public GetInputFormQuery(EkShopContext dbContext, IRemoteQuery <GetSystemSettingCommand, SystemSetting> getSystemSettingQuery)
     : base(dbContext)
 {
     _getSystemSettingQuery = getSystemSettingQuery;
 }
Beispiel #23
0
 public ListProductsQueryHandler(IRemoteQuery <ListProductsCommand, PagedList <Product> > listProductsQuery)
 {
     _listProductsQuery = listProductsQuery;
 }
Beispiel #24
0
 public GetProductQueryHandler(IRemoteQuery <GetProductCommand, Product> getProductQuery)
 {
     _getProductQuery = getProductQuery;
 }
 public RemoteQueryCacheDecorator(IRemoteQuery <TCommand, TResult> decoratedRemoteQuery,
                                  ICache cache)
 {
     _decoratedRemoteQuery = decoratedRemoteQuery;
     _cache = cache;
 }
Beispiel #26
0
 public DeleteProductQueryHandler(IRemoteQuery <DeleteProductCommand, Product> getProductQuery)
 {
     _deleteProductQuery = getProductQuery;
 }
Beispiel #27
0
 public GetRouteQueryHandler(IRemoteQuery <GetRouteCommand, Route> getRouteQuery)
 {
     _getRouteQuery = getRouteQuery;
 }
 public GetInputFormQueryHandler(IRemoteQuery <GetInputFormCommand, InputForm> getInputFormQuery)
 {
     _getInputFormQuery = getInputFormQuery;
 }
Beispiel #29
0
 public ListCategoriesQueryHandler(IRemoteQuery <ListCategoriesCommand, PagedList <Category> > listCategoriesQuery)
 {
     _listCategoriesQuery = listCategoriesQuery;
 }
 public GetRouteByComponentQueryHandler(IRemoteQuery <ListRoutesCommand, List <Route> > listRoutesQuery)
 {
     _listRoutesQuery = listRoutesQuery;
 }