public TransactionCreatedEventHandler(ReadDbContext readDbContext, ICache cache,
                                       ITransactionListQueryModelMaterializer transactionMaterializer,
                                       ICardListQueryModelMaterializer cardListMaterializer)
 {
     this.readDbContext           = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
     this.cache                   = cache ?? throw new ArgumentNullException(nameof(cache));
     this.transactionMaterializer = transactionMaterializer ?? throw new ArgumentNullException(nameof(transactionMaterializer));
     this.cardListMaterializer    = cardListMaterializer ?? throw new ArgumentNullException(nameof(cardListMaterializer));
 }
 public ExpenseUpdatedDomainEventHandler(ReadDbContext readDbContext)
 {
     _readDbContext = readDbContext;
 }
Example #3
0
 public ReadRepository(ReadDbContext db) =>
Example #4
0
 public ExpenseCreatedDomainEventHandler(IMapper mapper, ReadDbContext readDbContext)
 {
     _mapper        = mapper;
     _readDbContext = readDbContext;
 }
Example #5
0
 public MinersMaterializer(WriteDbContext writeDbContext, ReadDbContext readDbContext)
 {
     this.writeDbContext = writeDbContext ?? throw new ArgumentNullException(nameof(writeDbContext));
     this.readDbContext  = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }
 public GetBeltByIdQueryHandler(ReadDbContext dataContext)
 {
     _dataContext = dataContext;
 }
Example #7
0
 public UserActivityReadRepository(ReadDbContext context)
 {
     this.context = context;
 }
 public UserSessionRepository(ReadDbContext context)
 {
     _context = context;
 }
 public PurchaseReadDataService(ReadDbContext dataContext)
 {
     _dataContext = dataContext;
 }
 public GetCardListQueryHandler(ReadDbContext readDbContext, ICache cache)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
     this.cache         = cache ?? throw new ArgumentNullException(nameof(cache));
 }
 public ReadDbContextBasedRepository(ReadDbContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #12
0
 public ReadQuestionRepository(ReadDbContext readContext)
 => _readContext = readContext;
 public GetExpenseByIdQueryHandler(ReadDbContext readDbContext)
 {
     _readDbContext = readDbContext;
 }
Example #14
0
 public GetPersonQueryHandler(ReadDbContext dataContext)
 {
     _dataContext = dataContext;
 }
 public GetTransactionListQueryHandler(ReadDbContext readDbContext)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }
 public GetCardByIdQueryHandler(ReadDbContext readDbContext)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }
 public ReadQuizRepository(ReadDbContext readContext)
 => _readContext = readContext;
Example #18
0
 public MaterializeTransactionEventHandler(ReadDbContext readDbContext, ICache cache)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
     this.cache         = cache ?? throw new ArgumentNullException(nameof(cache));
 }
Example #19
0
 public MaterializeCardEventHandler(ReadDbContext readDbContext)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }