コード例 #1
0
ファイル: WalletService.cs プロジェクト: isaevdan/Blockchain
 public WalletService(IWalletRepository walletRepository, BitcoindService bitcoindService,
                      ILogger <WalletService> logger)
 {
     _walletRepository = walletRepository;
     _bitcoindService  = bitcoindService;
     _logger           = logger;
 }
コード例 #2
0
 public TransactionService(BitcoindService bitcoindService,
                           WalletService walletService,
                           IInputTransactionsRepository inputTransactionsRepository,
                           IOutputTransactionsRepository outputTransactionsRepository,
                           ServiceConfiguration serviceConfiguration)
 {
     _bitcoindService              = bitcoindService;
     _walletService                = walletService;
     _inputTransactionsRepository  = inputTransactionsRepository;
     _outputTransactionsRepository = outputTransactionsRepository;
     _serviceConfiguration         = serviceConfiguration;
 }