示例#1
0
 public CreditsWithdrawnHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext,
                                ILogger <CreditsWithdrawnHandler> logger, IRequestStatusService requestStatusService) : base(appEventBuilder,
                                                                                                                             logger)
 {
     _dbContext            = dbContext;
     _requestStatusService = requestStatusService;
 }
 public AuctionImageRemovedHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext, IRequestStatusService requestStatusService,
                                   ILogger <AuctionImageAddedHandler> logger) : base(appEventBuilder, logger)
 {
     _dbContext            = dbContext;
     _requestStatusService = requestStatusService;
     _logger = logger;
 }
 public AuctionBoughtHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext readModelDbContext,
                             IRequestStatusService requestStatusService, ILogger <AuctionBoughtHandler> logger) : base(appEventBuilder,
                                                                                                                       logger)
 {
     _readModelDbContext   = readModelDbContext;
     _requestStatusService = requestStatusService;
     _logger = logger;
 }
 public TestAuctionCreatedHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext,
                                  IRequestStatusService requestStatusService) : base(appEventBuilder, dbContext, requestStatusService, Mock.Of <ILogger <TestAuctionCreatedHandler> >())
 {
 }
示例#5
0
 public AuctionCompletedHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext, ILogger <AuctionCompletedHandler> logger) : base(appEventBuilder, logger)
 {
     _dbContext = dbContext;
 }
 public TestHandler(IAppEventBuilder appEventBuilder, Action <IAppEvent <TestEvent> > onConsume) : base(appEventBuilder, Mock.Of <ILogger <TestHandler> >())
 {
     OnConsume = onConsume;
 }
 public BidCanceledHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext,
                           ILogger <BidCanceledHandler> logger) : base(appEventBuilder, logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
示例#8
0
 protected EventConsumer(IAppEventBuilder appEventBuilder, ILogger logger)
 {
     _appEventBuilder = appEventBuilder;
     _logger          = logger;
 }
示例#9
0
 public UserRegisteredHandler(IAppEventBuilder appEventBuilder, ReadModelDbContext dbContext,
                              ILogger <UserRegisteredHandler> logger) : base(appEventBuilder, logger)
 {
     _dbContext = dbContext;
     _logger    = logger;
 }
示例#10
0
 public EventBusService(IEventBus eventBus, IAppEventBuilder appEventBuilder)
 {
     _eventBus        = eventBus;
     _appEventBuilder = appEventBuilder;
 }