Example #1
0
 public LotteryTicketedSubscriber(IBusClient busClient, ITicketingNotifier dispatcher, ILotteryNoticingMessagePublisher ticketingNoticeMessageService, ILogger <LotteryTicketedSubscriber> logger)
 {
     _busClient = busClient;
     _ticketingNoticeMessageService = ticketingNoticeMessageService;
     _logger     = logger;
     _dispatcher = dispatcher;
 }
Example #2
0
 public LotteryAwardedSubscriber(IBusClient busClient, IAwardingNotifier dispatcher, ILogger <LotteryAwardedSubscriber> logger, ILotteryNoticingMessagePublisher awardingNoticeMessageService)
 {
     _logger     = logger;
     _busClient  = busClient;
     _dispatcher = dispatcher;
     _awardingNoticeMessageService = awardingNoticeMessageService;
 }
 public LotteryAwardingScheduler(IServiceProvider iocResolver, IDispatchQueryingMessageService dispatchQueryingMessageService, ILotteryNoticingMessagePublisher lotteryNoticingMessagePublisher, ILotteryCalculatorFactory lotteryCalculatorFactory, ILogger <LotteryAwardingScheduler> logger)
 {
     _iocResolver = iocResolver;
     _logger      = logger;
     _dispatchQueryingMessageService  = dispatchQueryingMessageService;
     _lotteryCalculatorFactory        = lotteryCalculatorFactory;
     _lotteryNoticingMessagePublisher = lotteryNoticingMessagePublisher;
 }
Example #4
0
 public LiangcaiReceivingMiddleware(RequestDelegate next, ILogger <LiangcaiReceivingMiddleware> logger, ILotteryNoticingMessagePublisher lotteryNoticingMessagePublisher, IOrderingApplicationService orderingApplicationService, ILotteryMerchanterApplicationService lotteryMerchanterApplicationService)
 {
     _next   = next;
     _logger = logger;
     _lotteryNoticingMessagePublisher     = lotteryNoticingMessagePublisher;
     _orderingApplicationService          = orderingApplicationService;
     _lotteryMerchanterApplicationService = lotteryMerchanterApplicationService;
 }
Example #5
0
 public QueryingDispatcherSubscriber(IBusClient busClient, DispatcherConfiguration dispatcherConfiguration, ILogger <OrderingDispatcherSubscriber> logger, IQueryingDispatcher queryingDispatcher, IDispatchQueryingMessageService dispatchQueryingMessageService, ILotteryNoticingMessagePublisher lotteryNoticingMessagePublisher)
 {
     _logger    = logger;
     _busClient = busClient;
     _dispatcherConfiguration         = dispatcherConfiguration;
     _queryingDispatcher              = queryingDispatcher;
     _dispatchQueryingMessageService  = dispatchQueryingMessageService;
     _lotteryNoticingMessagePublisher = lotteryNoticingMessagePublisher;
 }
Example #6
0
 public SuicaiNoticing(RequestDelegate next, ILogger <SuicaiNoticing> logger, ILotteryNoticingMessagePublisher lotteryNoticingMessagePublisher, IOrderingApplicationService orderingApplicationService, ILotteryMerchanterApplicationService lotteryMerchanterApplicationService)
 {
     _next   = next;
     _logger = logger;
     _lotteryNoticingMessagePublisher     = lotteryNoticingMessagePublisher;
     _orderingApplicationService          = orderingApplicationService;
     _lotteryMerchanterApplicationService = lotteryMerchanterApplicationService;
     _crypter = Tripledescrypt.Create(CipherMode.CBC, PaddingMode.PKCS7);
 }
Example #7
0
 public OrderingDispatcherSubscriber(IBusClient busClient, DispatcherConfiguration dispatcherOptions, ILogger <OrderingDispatcherSubscriber> logger, IOrderingDispatcher orderingDispatcher, IDispatchOrderingMessageService dispatchOrderingMessageService, ILotteryNoticingMessagePublisher lotteryNoticingMessagePublisher, IDispatchQueryingMessageService dispatchQueryingMessageService)
 {
     _logger    = logger;
     _busClient = busClient;
     _dispatcherConfiguration         = dispatcherOptions;
     _orderingDispatcher              = orderingDispatcher;
     _dispatchOrderingMessageService  = dispatchOrderingMessageService;
     _dispatchQueryingMessageService  = dispatchQueryingMessageService;
     _lotteryNoticingMessagePublisher = lotteryNoticingMessagePublisher;
 }