public OutboxEventHostedService( ILogger <OutboxEventHostedService> logger, IEventBusPublisher eventBusPublisher, IServiceScopeFactory serviceScopeFactory) { _logger = logger; _eventBusPublisher = eventBusPublisher; _serviceScopeFactory = serviceScopeFactory; }
public SampleEventPublisher(IEventBusPublisher eventBusPublisher) { if (eventBusPublisher == null) { throw new ArgumentNullException(nameof(eventBusPublisher)); } _eventBusPublisher = eventBusPublisher; }
public EdcPublishService( IEventBusPublisher eventBusPublisher, IIntegrationEventLogService eventLogService) { Ensure.That(eventBusPublisher).IsNotNull(); Ensure.That(eventLogService).IsNotNull(); _eventBusPublisher = eventBusPublisher; _eventLogService = eventLogService; }
public CheckOutEventHandler(IEventBusPublisher eventBusPublisher, CreateOrderCommandHandler orderCommandHandler, ILogger <CheckOutEventHandler> logger, TelemetryClient telemetryClient) { _eventBusPublisher = eventBusPublisher; _orderCommandHandler = orderCommandHandler; _logger = logger; _telemetryClient = telemetryClient; }
public RabbitMQSubscriptionManager( IServiceProvider serviceProvider, IEventBusPublisher eventBusPublisher, MessageWriterProvider messageWriterProvider ) { this.serviceProvider = serviceProvider; this.eventBusPublisher = eventBusPublisher; this.messageWriterProvider = messageWriterProvider; }
public ProductCreatedHandler( IServiceScopeFactory serviceScopeFactory, IEventBusPublisher eventBusPublisher, IMapper mapper, ILogger <ProductCreatedHandler> logger) { _serviceScopeFactory = serviceScopeFactory; _mapper = mapper; _logger = logger; }
public RabbitMQEventBus( ISubscriptionManager <RabbitContext> subscriptionManager, IEventBusListener <RabbitContext> eventBusListener, IEventBusPublisher eventBusPublisher ) { this.subscriptionManager = subscriptionManager; this.eventBusListener = eventBusListener; this.eventBusPublisher = eventBusPublisher; }
public CreateCarCommandHandler( IMapper mapper, IValidatorFactory validatorFactory, IEventBusPublisher eventBusPublisher, ICommandCarCatalogRepository commandCarCatalogRepository) { _mapper = mapper; _validatorFactory = validatorFactory; _commandCarCatalogRepository = commandCarCatalogRepository; _eventBusPublisher = eventBusPublisher; }
public ProductsController( ProductContext context, IEventBusPublisher eventBusPublisher, IHttpClientFactory httpClientFactory, IMapper mapper) { _context = context; _eventBusPublisher = eventBusPublisher; _httpClientFactory = httpClientFactory; _mapper = mapper; }
public CatalogBusinessServices(IMusicRepository musicRepository, IGenreRepository genreRepository, IArtistRepository artistRepository, IEventBusPublisher eventBusPublisher, ILogger <CatalogBusinessServices> logger) { _musicRepository = musicRepository; _genreRepository = genreRepository; _artistRepository = artistRepository; _eventBusPublisher = eventBusPublisher; _logger = logger; }
public BasketBusinessServices(IDistributedCacheRepository distributedCacheRepository, IAzureTableStorageRespository <ProductTableEntity> productRepository, ILogger <BasketBusinessServices> logger, IEventBusPublisher eventBusPublisher, IEventBusSubscriber eventBusSubscriber, IRestClient restClient, TelemetryClient telemetryClient) { _distributedCacheRepository = distributedCacheRepository; _productRepository = productRepository; _logger = logger; _eventBusPublisher = eventBusPublisher; _eventBusSubscriber = eventBusSubscriber; _restClient = restClient; _telemetryClient = telemetryClient; }
public ThingCommandService( IThingRepository thingRepository, IThingMappingService thingMappingService, IUserRepository userRepository, IHttpContextUserService httpContextUserService, IEventBusPublisher eventBusPublisher, IUnitOfWork unitOfWork, ILogger <ThingQueryService> logger) { _thingRepository = thingRepository; _thingMappingService = thingMappingService; _userRepository = userRepository; _httpContextUserService = httpContextUserService; _eventBusPublisher = eventBusPublisher; _unitOfWork = unitOfWork; _logger = logger; }
public AccountController( SignInManager <AppUser> signInManager, UserManager <AppUser> userManager, IIdentityServerInteractionService interaction, IAuthenticationSchemeProvider schemeProvider, IClientStore clientStore, IEventService events, IEventBusPublisher eventBusPublisher) { _userManager = userManager; _interaction = interaction; _schemeProvider = schemeProvider; _clientStore = clientStore; _events = events; _eventBusPublisher = eventBusPublisher; _signInManager = signInManager; }
public PlaceCommandService( IPlaceRepository placeRepository, IPlaceMappingService placeMappingService, IUserRepository userRepository, IHttpContextUserService httpContextUserService, IEventBusPublisher eventBusPublisher, IUnitOfWork unitOfWork, ILogger <PlaceQueryService> logger) { _placeRepository = placeRepository; _placeMappingService = placeMappingService; _userRepository = userRepository; _httpContextUserService = httpContextUserService; _eventBusPublisher = eventBusPublisher; _unitOfWork = unitOfWork; _logger = logger; }
public EventPublisher(IEventBusPublisher eventBusPublisher, IEventModelFactory eventModelFactory, IDbContextFactory dbContextFactory) { if (eventBusPublisher == null) { throw new ArgumentNullException(nameof(eventBusPublisher)); } if (eventModelFactory == null) { throw new ArgumentNullException(nameof(eventModelFactory)); } if (dbContextFactory == null) { throw new ArgumentNullException(nameof(dbContextFactory)); } _eventBusPublisher = eventBusPublisher; _eventModelFactory = eventModelFactory; _dbContextFactory = dbContextFactory; }
public EventBusTestController(IEventBusPublisher publisher) { this.publisher = publisher; }
/// <summary> /// Initialize the object /// </summary> /// <param name="eventBus">The publisher to send a IntegrationEvent.</param> /// <param name="mediator">The mediator to send a Command</param> public DomainEventHandler(IEventBusPublisher eventBus, IMediator mediator) { _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); }
public NotificationService(IEventBusPublisher eventBusPublisher) { _eventBusPublisher = eventBusPublisher; }
public RegisterController(AppUserStore userStore, IEventBusPublisher eventBusPublisher) { _userStore = userStore; _eventBusPublisher = eventBusPublisher; }