public ProductCrudSubService(IProductMapperService productMapperService, IProductFilter productFilter, IProductDomainService productDomainService) { this.productMapperService = productMapperService; this.productFilter = productFilter; this.productDomainService = productDomainService; }
public OrderService(X.IRespository.DBSession.IWMDBSession repository, IUserDomainService userDomainService, IProductDomainService productDomainService, ILogger <OrderService> logger) : base(repository) { _userDomainService = userDomainService; _productDomainService = productDomainService; _logger = logger; }
public ProductAppService( IUnitOfWorkManager unitOfWorkManager, IProductDomainService domainService, IProductReadRepository readRepository, INotificationHandler notificationHandler) : base(notificationHandler) { _unitOfWorkManager = unitOfWorkManager; _domainService = domainService; _readRepository = readRepository; }
public ImportOrderCommandHandler( HandlerBaseParameters handlerBaseParameters, IImportOrderCommandIsValidValidator importOrderCommandIsValidValidator, IOrderDomainService orderDomainService, ICustomerDomainService customerDomainService, IProductDomainService productDomainService ) : base(handlerBaseParameters) { _importOrderCommandIsValidValidator = importOrderCommandIsValidValidator; _orderDomainService = orderDomainService; _customerDomainService = customerDomainService; _productDomainService = productDomainService; }
public ProductAppService( IProductDomainService productDomainService, IAuthorizationService authorizationService, IUnitOfWorkManager unitOfWorkManager, IMailSender mailSender, ISession session, IRealtimeNotifier realtimeNotifier) { _productDomainService = productDomainService; _authorizationService = authorizationService; _unitOfWorkManager = unitOfWorkManager; _mailSender = mailSender; _session = session; _realtimeNotifier = realtimeNotifier; }
// Constructors public ImportInvoiceCommandHandler( IInMemoryDefaultDomainNotificationHandler inMemoryDefaultDomainNotificationHandler, ITenantInfoValueObjectFactory tenantInfoValueObjectFactory, ICustomerDomainService customerDomainService, IProductDomainService productDomainService, IInvoiceDomainService invoiceDomainService, IInvoiceFactory invoiceFactory ) : base(tenantInfoValueObjectFactory, inMemoryDefaultDomainNotificationHandler) { _customerDomainService = customerDomainService; _productDomainService = productDomainService; _invoiceDomainService = invoiceDomainService; _invoiceFactory = invoiceFactory; }
public ProductAppService(IProductRepository productRepository, IRepository <ProductSale, Guid> productSaleRepository, IRepository <ProductSalePrice, Guid> productSalePriceRepository, IRepository <Plan, Guid> planRepository, IRepository <PlanPrice, Guid> planPriceRepository, IObjectMapper objectMapper, IProductDomainService productDomainService, IPlanDomainService planDomainService, IPlanPriceDomainService planPriceDomainService) { _productRepository = productRepository ?? throw new ArgumentNullException(nameof(productRepository)); _productSaleRepository = productSaleRepository ?? throw new ArgumentNullException(nameof(productSaleRepository)); _productSalePriceRepository = productSalePriceRepository ?? throw new ArgumentNullException(nameof(productSalePriceRepository)); _planRepository = planRepository ?? throw new ArgumentNullException(nameof(planRepository)); _planPriceRepository = planPriceRepository ?? throw new ArgumentNullException(nameof(planPriceRepository)); _objectMapper = objectMapper ?? throw new ArgumentNullException(nameof(objectMapper)); _productDomainService = productDomainService ?? throw new ArgumentNullException(nameof(productDomainService)); _planDomainService = planDomainService ?? throw new ArgumentNullException(nameof(planDomainService)); _planPriceDomainService = planPriceDomainService ?? throw new ArgumentNullException(nameof(planPriceDomainService)); }
public ProductAppService(IProductDomainService domainService, IProductReadRepository readRepository, INotificationHandler notificationHandler) : base(notificationHandler) { _domainService = domainService; _readRepository = readRepository; }
public ProductAppService(IProductDomainService productDomainService, IGuidGenerator guidGenerator, IWebHostEnvironment webHostEnvironment) { this.productDomainService = productDomainService; this.guidGenerator = guidGenerator; this.webHostEnvironment = webHostEnvironment; }
public ProductAppService(IProductDomainService productDomainService) { _productDomainService = productDomainService; }
public ProductDomainServiceTests() { _domainService = Resolve <IProductDomainService>(); _culture = CultureInfo.GetCultureInfo("pt-BR"); }
public ProductApplicationService( IProductDomainService productDomainService, IUnitOfWorkManager unitOfWorkManager) : base(unitOfWorkManager) { this._productDomainService = productDomainService; }
public ProductApplicationService(IProductDomainService productService, IMapper mapper) { _productService = productService; _mapper = mapper; }
public ProductsController(IProductDomainService domainService) { _productDomainService = domainService; }
public ProductController(ApplicationContext context) { _domainService = new ProductDomainService(context); }
public OrdersController(IOrderDomainService service, IProductDomainService domainService, IExecutorDomainService executorDomain) { _orderDomainService = service; _productDomainService = domainService; _executorDomainService = executorDomain; }