public WarehouseManager(IEfBasicRepository <Product> productRepo , IEfBasicRepository <Warehouse> warehouseRepo , IEventPublisher eventPublisher) { _productRepo = productRepo; _warehouseRepo = warehouseRepo; _eventPublisher = eventPublisher; }
/// <summary> /// 构造函数 /// </summary> /// <param name="warehouseManager"></param> /// <param name="mapper"></param> /// <param name="warehouseRepo"></param> /// <param name="productRepo"></param> public WarehouseAppService(WarehouseManager warehouseManager , IMapper mapper , IEfBasicRepository <Warehouse> warehouseRepo , IEfBasicRepository <Product> productRepo) { _warehouseManager = warehouseManager; _warehouseRepo = warehouseRepo; _productRepo = productRepo; _mapper = mapper; }
/// <summary> /// 商品管理构造函数 /// </summary> /// <param name="productRepo"></param> /// <param name="warehouseInfoRepo"></param> /// <param name="maintRpcSrv"></param> /// <param name="productMgr"></param> /// <param name="mapper"></param> public ProductAppService( IEfBasicRepository <Product> productRepo , IEfBasicRepository <Warehouse> warehouseInfoRepo , IMaintRpcService maintRpcSrv , ProductManager productMgr) { _productMgr = productMgr; _productRepo = productRepo; _warehouseInfoRepo = warehouseInfoRepo; _maintRpcSrv = maintRpcSrv; }
/// <summary> /// 构造函数 /// </summary> /// <param name="orderRepo"></param> /// <param name="orderMgr"></param> /// <param name="whseRestClient"></param> /// <param name="maintRestClient"></param> public OrderAppService( IEfBasicRepository <Order> orderRepo , OrderManager orderMgr , IWhseRestClient whseRestClient , IMaintRestClient maintRestClient) { _orderRepo = orderRepo; _orderMgr = orderMgr; _whseRestClient = whseRestClient; _maintRestClient = maintRestClient; }
/// <summary> /// 构造函数 /// </summary> /// <param name="orderRepo"></param> /// <param name="orderMgr"></param> /// <param name="warehouseRpc"></param> /// <param name="maintRpc"></param> /// <param name="mapper"></param> public OrderAppService( IEfBasicRepository <Order> orderRepo , OrderManager orderMgr , IWhseRpcService warehouseRpc , IMaintRpcService maintRpc) { _orderRepo = orderRepo; _orderMgr = orderMgr; _warehouseRpc = warehouseRpc; _maintRpc = maintRpc; }
/// <summary> /// 商品管理构造函数 /// </summary> /// <param name="productRepo"></param> /// <param name="warehouseInfoRepo"></param> /// <param name="maintRestClient"></param> /// <param name="productMgr"></param> public ProductAppService( IEfBasicRepository <Product> productRepo , IEfBasicRepository <Warehouse> warehouseInfoRepo , IMaintRestClient maintRestClient , ProductManager productMgr) { _productMgr = productMgr; _productRepo = productRepo; _warehouseInfoRepo = warehouseInfoRepo; _maintRestClient = maintRestClient; }
public OrderManager(IEfBasicRepository <Order> orderRepo , IEventPublisher eventPublisher) { _orderRepo = orderRepo; _eventPubliser = eventPublisher; }
public ProductManager(IEfBasicRepository <Product> productRepo) { _productRepo = productRepo; }
public OrderManager(IEfBasicRepository <Order> orderRepo) => _orderRepo = orderRepo;
public WarehouseManager(IEfBasicRepository <Warehouse> warehouseRepo) => _warehouseRepo = warehouseRepo;