コード例 #1
0
 public TransferCommunicator(HttpClient client, BankCache cache, RegisterBank registration, IUnitOfWork repos, ICreditCommand creditCommand)
 {
     _repos         = repos;
     _creditCommand = creditCommand;
     _registration  = registration;
     _client        = client;
     _cache         = cache;
 }
コード例 #2
0
 public TransferController(IUnitOfWork repos, ITransferDispatcher dispatcher, ICreditCommand command, RegisterBank registration, ILogger <TransferController> logger)
 {
     _repos        = repos;
     _dispatcher   = dispatcher;
     _command      = command;
     _registration = registration;
     _logger       = logger;
     _accountId    = 1;
 }
コード例 #3
0
 public DepositListener(ConnectionFactory factory, ICreditCommand creditCommand)
 {
     _creditCommand = creditCommand;
     _factory       = factory;
 }