public WalletLinker(IWalletLinkingRequestsRepository requestsRepository,
                     ILogFactory logFactory,
                     int linkCodeLength,
                     IPrivateBlockchainFacadeClient pbfClient,
                     ISettingsService settingsService,
                     IRabbitPublisher <WalletLinkingStatusChangeRequestedEvent> requestedPublisher,
                     IRabbitPublisher <WalletLinkingStatusChangeCompletedEvent> completedPublisher,
                     IRabbitPublisher <WalletLinkingStatusChangeFinalizedEvent> finalizedPublisher,
                     ISignatureValidator signatureValidator,
                     IWalletLinkingRequestsCounterRepository countersRepository,
                     ICustomersService customersService,
                     IWalletManagementClient walletManagementClient,
                     ITransactionRunner transactionRunner)
 {
     _requestsRepository     = requestsRepository;
     _linkCodeLength         = linkCodeLength;
     _pbfClient              = pbfClient;
     _settingsService        = settingsService;
     _requestedPublisher     = requestedPublisher;
     _completedPublisher     = completedPublisher;
     _signatureValidator     = signatureValidator;
     _countersRepository     = countersRepository;
     _customersService       = customersService;
     _walletManagementClient = walletManagementClient;
     _transactionRunner      = transactionRunner;
     _finalizedPublisher     = finalizedPublisher;
     _log = logFactory.CreateLog(this);
 }
Пример #2
0
 public CustomersService(IWalletLinkingRequestsRepository requestsRepository,
                         IWalletLinkingRequestsCounterRepository counterRepository,
                         IConfigurationItemsRepository configurationItemsRepository,
                         ILogFactory logFactory)
 {
     _requestsRepository           = requestsRepository;
     _counterRepository            = counterRepository;
     _configurationItemsRepository = configurationItemsRepository;
     _log = logFactory.CreateLog(this);
 }