コード例 #1
0
 public TransactionService(IHorizonService horizonService, IObservationRepository <BroadcastObservation> observationRepository,
                           ITxBroadcastRepository broadcastRepository, ITxBuildRepository buildRepository, ILog log, int batchSize)
 {
     _horizonService        = horizonService;
     _observationRepository = observationRepository;
     _broadcastRepository   = broadcastRepository;
     _buildRepository       = buildRepository;
     _log       = log;
     _batchSize = batchSize;
 }
コード例 #2
0
 public TransactionService(IBalanceService balanceService,
                           IHorizonService horizonService,
                           IObservationRepository <BroadcastObservation> observationRepository,
                           IWalletBalanceRepository balanceRepository,
                           ITxBroadcastRepository broadcastRepository,
                           ITxBuildRepository buildRepository,
                           TimeSpan transactionExpirationTime,
                           ILogFactory logFactory,
                           IBlockchainAssetsService blockchainAssetsService,
                           IChaosKitty chaosKitty,
                           AppSettings appSettings)
 {
     _balanceService            = balanceService;
     _horizonService            = horizonService;
     _observationRepository     = observationRepository;
     _balanceRepository         = balanceRepository;
     _broadcastRepository       = broadcastRepository;
     _buildRepository           = buildRepository;
     _transactionExpirationTime = transactionExpirationTime;
     _log = logFactory.CreateLog(this);
     _blockchainAssetsService = blockchainAssetsService;
     _chaos       = chaosKitty;
     _appSettings = appSettings;
 }