コード例 #1
0
 /// <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;
 }
コード例 #2
0
ファイル: ProductAppService.cs プロジェクト: AlphaYu/Adnc
 /// <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;
 }
コード例 #3
0
 public RestAndGrpcClientDemoController(IUsrRestClient usrRestClient
                                        , IMaintRestClient maintRestClient
                                        , IWhseRestClient whseRestClient
                                        , UsrGrpc.UsrGrpcClient usrGrpcClient
                                        , MaintGrpc.MaintGrpcClient maintGrpcClient
                                        , WhseGrpc.WhseGrpcClient whseGrpcClient)
 {
     _usrRestClient   = usrRestClient;
     _maintRestClient = maintRestClient;
     _whseRestClient  = whseRestClient;
     _usrGrpcClient   = usrGrpcClient;
     _maintGrpcClient = maintGrpcClient;
     _whseGrpcClient  = whseGrpcClient;
 }