public WalletLinkingStatusChangeCompletedInPublicEventHandler(IWalletLinker walletLinker,
                                                               ILogFactory logFactory,
                                                               IRabbitPublisher <WalletLinkingStatusChangeFinalizedEvent> publisher,
                                                               IPushNotificationsPublisher pushNotificationsPublisher)
 {
     _walletLinker = walletLinker;
     _publisher    = publisher;
     _pushNotificationsPublisher = pushNotificationsPublisher;
     _log = logFactory.CreateLog(this);
 }
 public UndecodedEventHandler(IBlockchainEventDecoder blockchainEventDecoder,
                              ISettingsService settingsService,
                              ILogFactory logFactory,
                              IWalletLinker walletLinker,
                              IWalletLinkingRequestsRepository requestsRepository,
                              IPushNotificationsPublisher pushNotificationsPublisher,
                              IRabbitPublisher <WalletLinkingStatusChangeCompletedEvent> statusChangeCompletedPublisher)
 {
     _blockchainEventDecoder         = blockchainEventDecoder;
     _settingsService                = settingsService;
     _walletLinker                   = walletLinker;
     _requestsRepository             = requestsRepository;
     _pushNotificationsPublisher     = pushNotificationsPublisher;
     _statusChangeCompletedPublisher = statusChangeCompletedPublisher;
     _log = logFactory.CreateLog(this);
 }
Пример #3
0
 public LinkRequestsController(IWalletLinker walletLinker, IMapper mapper, ILogFactory logFactory)
 {
     _walletLinker = walletLinker;
     _mapper       = mapper;
     _log          = logFactory.CreateLog(this);
 }