public BalancesUpdateProjection( [NotNull] ICachedWalletsRepository cachedWalletsRepository, [NotNull] IChaosKitty chaosKitty) { _cachedWalletsRepository = cachedWalletsRepository ?? throw new ArgumentNullException(nameof(cachedWalletsRepository)); _chaosKitty = chaosKitty ?? throw new ArgumentNullException(nameof(chaosKitty)); }
public BalanceUpdateRabbitSubscriber( [NotNull] ICachedWalletsRepository cachedWalletsRepository, [NotNull] ILogFactory logFactory, [NotNull] RabbitMqSettings rabbitMqSettings, [NotNull] ICqrsEngine cqrsEngine) { _logFactory = logFactory; _rabbitMqSettings = rabbitMqSettings ?? throw new ArgumentNullException(nameof(rabbitMqSettings)); _cqrsEngine = cqrsEngine ?? throw new ArgumentNullException(nameof(cqrsEngine)); }
public ClientAuthenticatedRabbitSubscriber( [NotNull] ICachedWalletsRepository cachedWalletsRepository, [NotNull] ILogFactory logFactory, [NotNull] RabbitMqSettings rabbitMqSettings) { _cachedWalletsRepository = cachedWalletsRepository ?? throw new ArgumentNullException(nameof(cachedWalletsRepository)); _logFactory = logFactory ?? throw new ArgumentNullException(nameof(logFactory)); _rabbitMqSettings = rabbitMqSettings ?? throw new ArgumentNullException(nameof(rabbitMqSettings)); _log = logFactory.CreateLog(this); }
public WalletsClientBalancesController(ICachedWalletsRepository cachedWalletsRepository, ITotalBalancesService totalBalancesService) { _cachedWalletsRepository = cachedWalletsRepository; _totalBalancesService = totalBalancesService; }