Exemple #1
0
 public ServiceAppService(
     IServiceRepository serviceRepository,
     IServiceImageRepository serviceImageRepository,
     IDbUnitOfWork unitOfWork,
     IImageServiceProxy imageServiceProxy,
     IOrganizationServiceProxy organizationServiceProxy,
     IAmapProxy amapProxy,
     TmpInstanceGenerate tmp,
     IUserServiceProxy userServiceProxy, IServicerRepository servicerRepository, IGoodsServiceProxy goodsServiceProxy)
 {
     _tmp = tmp;
     _serviceRepository        = serviceRepository;
     _serviceImageRepository   = serviceImageRepository;
     _dbUnitOfWork             = unitOfWork;
     _imageServiceProxy        = imageServiceProxy;
     _organizationServiceProxy = organizationServiceProxy;
     _amapProxy          = amapProxy;
     _userServiceProxy   = userServiceProxy;
     _servicerRepository = servicerRepository;
     _goodsServiceProxy  = goodsServiceProxy;
 }
Exemple #2
0
 public OrderSubmittedHandler()
 {
     _goodsServiceProxy = IocProvider.GetService <IGoodsServiceProxy>();
     _fancyServiceProxy = IocProvider.GetService <IFancyServiceProxy>();
 }
Exemple #3
0
 public OrderPaidHandler()
 {
     _activityServiceProxy = IocProvider.GetService <IActivityServiceProxy>();
     _goodsServiceProxy    = IocProvider.GetService <IGoodsServiceProxy>();
     _authServiceProxy     = IocProvider.GetService <IAuthServiceProxy>();
 }