public OutboxMessageSender( ILogger <OutboxMessageCreator> logger, IUnitOfWork unitOfWork, IDomainEntityFactory domainEntityFactory, IMessageSender messageSender) { _logger = logger; _unitOfWork = unitOfWork; _domainEntityFactory = domainEntityFactory; _messageSender = messageSender; }
public OutboxEventPublisher( ILogger <OutboxEventPublisher> logger, IDomainEntityFactory domainEntityFactory, IEventPublisher eventPublisher, IUnitOfWork unitOfWork ) { _logger = logger; _domainEntityFactory = domainEntityFactory; _eventPublisher = eventPublisher; _unitOfWork = unitOfWork; }
public OutboxEventCreator( IDomainEntityFactory domainEntityFactory ) { _domainEntityFactory = domainEntityFactory; }
public OutboxMessageCreator( IDomainEntityFactory domainEntityFactory ) { _domainEntityFactory = domainEntityFactory; }
/// <summary> /// Called during the bootstrap process to set the singleton factory instance. /// </summary> /// <param name="factory"></param> public static void SetInstance(IDomainEntityFactory factory) { Check.NotNull(factory, nameof(factory)); Instance = factory; }