コード例 #1
0
 public Resolver(IContainer container, IUnitOfWorkAsync unitOfWork, ISysUserService sysUserService,
                 IBTCTransactionService btcTransactionService, IETHTransactionService ethTransactionService,
                 ISettingService settingService,
                 ICoinTransactionService coinTransactionService)
 {
     Container             = container;
     UnitOfWork            = unitOfWork;
     SysUserService        = sysUserService;
     BTCTransactionService = btcTransactionService;
     //ETHTransactionService = ethTransactionService;
     CoinTransactionService = coinTransactionService;
     SettingService         = settingService;
 }
コード例 #2
0
 public DepositAndWithdrawController(
     ILangService langService,
     IMapper mapper,
     IViewRenderService viewRenderService,
     IUnitOfWorkAsync unitOfWork,
     ISettingService settingService,
     ITemplateService templateService,
     ICoinTransactionService coinTransactionService,
     IETHTransactionService ethTransactionService,
     IBTCTransactionService btcTransactionService,
     ISysUserService sysUserService)
 {
     this._langService            = langService;
     this._mapper                 = mapper;
     this._viewRenderService      = viewRenderService;
     this._settingService         = settingService;
     this._unitOfWork             = unitOfWork;
     this._templateService        = templateService;
     this._coinTransactionService = coinTransactionService;
     this._ethTransactionService  = ethTransactionService;
     this._btcTransactionService  = btcTransactionService;
     this._sysUserService         = sysUserService;
 }