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));
 }
コード例 #2
0
 public ExpenseUpdatedDomainEventHandler(ReadDbContext readDbContext)
 {
     _readDbContext = readDbContext;
 }
コード例 #3
0
 public ReadRepository(ReadDbContext db) =>
コード例 #4
0
 public ExpenseCreatedDomainEventHandler(IMapper mapper, ReadDbContext readDbContext)
 {
     _mapper        = mapper;
     _readDbContext = readDbContext;
 }
コード例 #5
0
 public MinersMaterializer(WriteDbContext writeDbContext, ReadDbContext readDbContext)
 {
     this.writeDbContext = writeDbContext ?? throw new ArgumentNullException(nameof(writeDbContext));
     this.readDbContext  = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }
コード例 #6
0
 public GetBeltByIdQueryHandler(ReadDbContext dataContext)
 {
     _dataContext = dataContext;
 }
コード例 #7
0
 public UserActivityReadRepository(ReadDbContext context)
 {
     this.context = context;
 }
コード例 #8
0
 public UserSessionRepository(ReadDbContext context)
 {
     _context = context;
 }
コード例 #9
0
 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;
 }
コード例 #12
0
 public ReadQuestionRepository(ReadDbContext readContext)
 => _readContext = readContext;
コード例 #13
0
 public GetExpenseByIdQueryHandler(ReadDbContext readDbContext)
 {
     _readDbContext = readDbContext;
 }
コード例 #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));
 }
コード例 #17
0
 public ReadQuizRepository(ReadDbContext readContext)
 => _readContext = readContext;
コード例 #18
0
 public MaterializeTransactionEventHandler(ReadDbContext readDbContext, ICache cache)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
     this.cache         = cache ?? throw new ArgumentNullException(nameof(cache));
 }
コード例 #19
0
 public MaterializeCardEventHandler(ReadDbContext readDbContext)
 {
     this.readDbContext = readDbContext ?? throw new ArgumentNullException(nameof(readDbContext));
 }