public StartupManager( ICacheMaintainer <WalletState> walletsStateCacheWarmer, ICacheMaintainer <TransactionState> transactionsStateCacheWarmer, ILogFactory logFactory) { _walletsStateCacheWarmer = walletsStateCacheWarmer; _transactionsStateCacheWarmer = transactionsStateCacheWarmer; _log = logFactory.CreateLog(this); }
public WalletEventsSubscriber( [NotNull] ILogFactory logFactory, [NotNull] RabbitMqSettings settings, [NotNull] ICacheMaintainer <WalletState> walletsCache) { _log = logFactory.CreateLog(this); _logFactory = logFactory; _settings = settings; _walletsCache = walletsCache; }
public CacheOutdateHandler( ICacheMaintainer <WalletState> walletsCache, ICacheMaintainer <TransactionState> transactionsCache, TimeSpan period, ILogFactory logFactory) : base(period, logFactory) { _walletsCache = walletsCache ?? throw new ArgumentNullException(nameof(walletsCache)); _transactionsCache = transactionsCache ?? throw new ArgumentNullException(nameof(transactionsCache)); _log = logFactory.CreateLog(this); }
public TransactionEventsSubscriber( [NotNull] ILogFactory logFactory, [NotNull] RabbitMqSettings settings, [NotNull] ICacheMaintainer <TransactionState> transactionsCache) { _log = logFactory.CreateLog(this); _logFactory = logFactory; _settings = settings; _transactionsCache = transactionsCache; }
public CacheController( [NotNull] ICacheMaintainer <WalletState> walletsStateCacheManager, [NotNull] ICacheMaintainer <TransactionState> transactionStateCacheManager, [NotNull] ILogFactory logFactory) { _walletsStateCacheManager = walletsStateCacheManager ?? throw new ArgumentNullException(nameof(walletsStateCacheManager)); _transactionStateCacheManager = transactionStateCacheManager ?? throw new ArgumentNullException(nameof(transactionStateCacheManager)); _log = logFactory.CreateLog(this); }
public TransactionsScanService( ICacheMaintainer <TransactionState> cacheMaintainer, QBitNinjaClient qBitNinjaClient, IDiffService <BcnTransaction> diffService, IPayInternalClient payInternalClient, ILogFactory logFactory) { _cacheMaintainer = cacheMaintainer ?? throw new ArgumentNullException(nameof(cacheMaintainer)); _qBitNinjaClient = qBitNinjaClient ?? throw new ArgumentNullException(nameof(qBitNinjaClient)); _diffService = diffService ?? throw new ArgumentNullException(nameof(diffService)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _log = logFactory.CreateLog(this); }
public WalletsScanService( ICacheMaintainer <WalletState> cacheMaintainer, QBitNinjaClient qBitNinjaClient, IDiffService <PaymentBcnTransaction> diffService, IPayInternalClient payInternalClient, ILogFactory logFactory, string bitcoinNetwork) { _cacheMaintainer = cacheMaintainer ?? throw new ArgumentNullException(nameof(cacheMaintainer)); _qBitNinjaClient = qBitNinjaClient ?? throw new ArgumentNullException(nameof(qBitNinjaClient)); _diffService = diffService ?? throw new ArgumentNullException(nameof(diffService)); _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient)); _bitcoinNetwork = Network.GetNetwork(bitcoinNetwork); _log = logFactory.CreateLog(this); }