Beispiel #1
0
 public MerchantWalletsService(
     [NotNull] IPayInternalClient payInternalClient,
     [NotNull] ILogFactory logFactory)
 {
     _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Beispiel #2
0
 public StartupManager([NotNull] ILogFactory logFactory,
                       NotificationSubscriber notificationSubscriber)
 {
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
     _notificationSubscriber =
         notificationSubscriber ?? throw new ArgumentNullException(nameof(notificationSubscriber));
 }
 public ExchangeController(
     [NotNull] ILogFactory logFactory,
     [NotNull] IPayInternalClient payInternalClient)
 {
     _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Beispiel #4
0
 public KeysController(
     IKeysStoreService keysStoreService,
     ILogFactory logFactory)
 {
     _keysStoreService = keysStoreService ?? throw new ArgumentNullException(nameof(keysStoreService));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public SignController(
     ISignService signService,
     ILogFactory logFactory)
 {
     _signService = signService ?? throw new ArgumentNullException(nameof(signService));
     _log         = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Beispiel #6
0
 public CallbackStubController(
     ICallbackStubService callbackStubService,
     ILogFactory logFactory)
 {
     _callbackStubService = callbackStubService ?? throw new ArgumentNullException(nameof(callbackStubService));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Beispiel #7
0
 public AssetsController(
     IPayInternalClient payInternalClient,
     IHeadersHelper headersHelper,
     ILogFactory logFactory)
 {
     _payInternalClient = payInternalClient ?? throw new ArgumentNullException(nameof(payInternalClient));
     _headersHelper     = headersHelper ?? throw new ArgumentNullException(nameof(headersHelper));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public StartupManager(
     ILogFactory logFactory,
     string encryptionKey,
     string encryptionIv,
     IEnumerable <IStartStop> startables)
 {
     _encryptionKey = encryptionKey;
     _encryptionIv  = encryptionIv;
     _startables    = startables;
     _log           = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public PaymentRequestController(
     IPaymentRequestService paymentRequestService,
     IPayCallbackClient payCallbackClient,
     IHeadersHelper headersHelper,
     ILogFactory logFactory)
 {
     _paymentRequestService =
         paymentRequestService ?? throw new ArgumentNullException(nameof(paymentRequestService));
     _payCallbackClient = payCallbackClient ?? throw new ArgumentNullException(nameof(payCallbackClient));
     _headersHelper     = headersHelper ?? throw new ArgumentNullException(nameof(headersHelper));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public InvoicesController(
     IIataService iataService,
     IMerchantService merchantService,
     IPayInternalClient payInternalClient,
     IPayInvoiceClient payInvoiceClient,
     ILogFactory logFactory)
 {
     _iataService       = iataService;
     _merchantService   = merchantService;
     _payInternalClient = payInternalClient;
     _payInvoiceClient  = payInvoiceClient ?? throw new ArgumentNullException(nameof(payInvoiceClient));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
 public LykkePayAuthHandler(
     IOptionsMonitor <LykkePayAuthOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IHttpContextAccessor httpContextAccessor,
     ISignatureVerificationService signatureVerificationService,
     ILogFactory logFactory) : base(options, logger, encoder, clock)
 {
     _httpContext = httpContextAccessor.HttpContext;
     _signatureVerificationService = signatureVerificationService ??
                                     throw new ArgumentNullException(nameof(signatureVerificationService));
     _log = logFactory?.CreateLog(this) ?? throw new ArgumentNullException(nameof(logFactory));
 }
Beispiel #12
0
 public BonusRewardsRepository(MsSqlContextFactory <WalletManagementContext> contextFactory, ILogFactory logFactory)
 {
     _contextFactory = contextFactory;
     _log            = logFactory.CreateLog(this);
 }
 public CashOutProjection(IHistoryRecordsRepository historyRecordsRepository, ILogFactory logFactory)
 {
     _historyRecordsRepository = historyRecordsRepository;
     _logger = logFactory.CreateLog(this);
 }
 private WalletBalanceRepository(INoSQLTableStorage <WalletBalanceEntity> storage, ILogFactory logFactory)
 {
     _storage = storage;
     _log     = logFactory.CreateLog(this);
 }
 public HashingManager(ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
 }
 public OrderBookAggregator(ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
 }
 public PublicWalletLinkingService(ICrossChainWalletLinkerClient walletLinkerClient, IMapper mapper, ILogFactory logFactory)
 {
     _walletLinkerClient = walletLinkerClient;
     _mapper             = mapper;
     _log = logFactory.CreateLog(this);
 }
 public StartupManager(ILogFactory loggerFactory)
 {
     _log = loggerFactory.CreateLog(this);
 }
Beispiel #19
0
 public WalletOwnersRepository(PostgreSQLContextFactory <PbfContext> contextFactory, ILogFactory logFactory)
 {
     _contextFactory = contextFactory;
     _log            = logFactory.CreateLog(this);
 }
Beispiel #20
0
 public TemplateService(ITemplateRepository templateRepository, ITemplateContentRepository templateContentRepository, ILogFactory logFactory)
 {
     _templateRepository        = templateRepository;
     _templateContentRepository = templateContentRepository;
     _log = logFactory.CreateLog(this);
 }
 public TiersService(ITiersRepository tiersRepository, ILogFactory logFactory)
 {
     _tiersRepository = tiersRepository;
     _log             = logFactory.CreateLog(this);
 }
Beispiel #22
0
 public NoContentFilter(ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
 }
 public EncryptionKeyController(IAesSerializer serializer, ILogFactory logFactory)
 {
     _serializer = serializer;
     _log        = logFactory.CreateLog(this);
 }
Beispiel #24
0
 public ConsoleService(ILogFactory logFactory, IKernel kernel)
 {
     _kernel = kernel;
     _logger = logFactory.CreateLog(GetType());
 }
 public CampaignsController(ICampaignService campaignService, ILogFactory logFactory)
 {
     _campaignService = campaignService ?? throw new ArgumentNullException(nameof(campaignService));
     _log             = logFactory.CreateLog(this);
 }
Beispiel #26
0
 public MobileController(IMobileSettingsReader settingsReader, ILogFactory logFactory)
 {
     _settingsReader = settingsReader;
     _log            = logFactory.CreateLog(this);
 }
 public MarketMakersPublisher(MainRabbitMqSettings settings, ILogFactory logFactory)
 {
     _logFactory = logFactory;
     _settings   = settings;
     _log        = logFactory.CreateLog(this);
 }
 public SpotController(LimitOrderRepository limitOrderRepository, ILogFactory logFactory)
 {
     _limitOrderRepository = limitOrderRepository;
     _log = logFactory.CreateLog(this);
 }
Beispiel #29
0
 public SyntheticFiatFeedClient(string serviceUrl, ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
 }
 public EmployeeRegistrationErrorProjection([NotNull] ILogFactory logFactory)
 {
     _log = logFactory.CreateLog(this);
 }
 public MySQLConnectionProvider(ILogFactory logFactory)
 {
     logger = logFactory.CreateLog(typeof (MySQLConnectionProvider));
 }