public AssetService(IBlockchainDataProvider blockchainProvider,
                     IAssetRepository assetRepository,
                     ILog log)
 {
     BlockchainDataProvider = blockchainProvider;
     AssetRepository        = assetRepository;
     Log = log;
 }
 public BlockService(IBlockchainDataProvider blockchainProvider,
                     IBlockRepository blockRepository,
                     ILoggerFactory loggerFactory)
 {
     BlockchainDataProvider = blockchainProvider;
     BlockRepository        = blockRepository;
     _log = loggerFactory.CreateLogger(GetType());
 }
 public BlockService(IBlockchainDataProvider blockchainProvider,
                     IBlockRepository blockRepository,
                     ILog log)
 {
     BlockchainDataProvider = blockchainProvider;
     BlockRepository        = blockRepository;
     Log = log;
 }
示例#4
0
 public TransactionService(IBlockchainDataProvider blockchainProvider,
                           ITransactionRepository transactionRepository,
                           IBlockService blockService,
                           ILoggerFactory loggerFactory)
 {
     BlockchainDataProvider = blockchainProvider;
     TransactionRepository  = transactionRepository;
     BlockService           = blockService;
     _log = loggerFactory.CreateLogger(GetType());
 }
 public AddressService(IBlockchainDataProvider blockchainProvider,
                       IBlockRepository blockRepository,
                       IAddressRepository addressRepository,
                       ILog log)
 {
     BlockchainDataProvider = blockchainProvider;
     BlockRepository        = blockRepository;
     AddressRepository      = addressRepository;
     Log = log;
 }
示例#6
0
 public TransactionService(IBlockchainDataProvider blockchainProvider,
                           ITransactionRepository transactionRepository,
                           IAssetRepository assetRepository,
                           IBlockService blockService,
                           ILog log)
 {
     BlockchainDataProvider = blockchainProvider;
     TransactionRepository  = transactionRepository;
     AssetRepository        = assetRepository;
     BlockService           = blockService;
     Log = log;
 }
 public BlockTransfer(IBlockRepository blockRepository,
                      ITransactionRepository transactionRepository,
                      IAssetRepository assetRepository,
                      IBlockchainDataProvider dataProvider,
                      ILog log)
 {
     _blockRepository       = blockRepository;
     _transactionRepository = transactionRepository;
     _dataProvider          = dataProvider;
     _assetRepository       = assetRepository;
     _log = log;
 }
示例#8
0
 public ApiService(IBlockchainDataProvider blockchainProvider, ILoggerFactory loggerFactory)
 {
     _blockchainProvider = blockchainProvider;
     _log = loggerFactory.CreateLogger(GetType());
 }