public UnitOfWork( DbContext context, IDomainEventsDispatcher domainEventsDispatcher) { this._context = context; this._domainEventsDispatcher = domainEventsDispatcher; }
public DomainEventsDispatcherNotificationHandlerDecorator( IDomainEventsDispatcher dispatcher, INotificationHandler <T> decorated) { _dispatcher = dispatcher; _decorated = decorated; }
public UnitOfWork( EmployeeDbContext employeesContext, IDomainEventsDispatcher domainEventsDispatcher) { _employeesContext = employeesContext; _domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( CustomerContext customerContext, IDomainEventsDispatcher domainEventsDispatcher) { this._customerContext = customerContext; this._domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( CharactersContext charactersContext, IDomainEventsDispatcher domainEventsDispatcher) { _charactersContext = charactersContext; _domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( TreesContext treesContext, IDomainEventsDispatcher domainEventsDispatcher) { this._treesContext = treesContext; this._domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( BDContext bdcontext, IDomainEventsDispatcher domainEventsDispatcher) { this._bdcontext = bdcontext; this._domainEventsDispatcher = domainEventsDispatcher; }
public RegisterUserCommandHandler(IUserManger userManger, IDomainEventsDispatcher domainEventsDispatcher) { EnsureArg.IsNotNull(domainEventsDispatcher); EnsureArg.IsNotNull(userManger); this.userManger = userManger; this.domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( AppDbContext appContext, IDomainEventsDispatcher domainEventsDispatcher) { this._appContext = appContext; this._domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( OrdersContext ordersContext, IDomainEventsDispatcher domainEventsDispatcher) { this._ordersContext = ordersContext; this._domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork( RecruitmentContext recruitmentContext, IDomainEventsDispatcher domainEventsDispatcher) { this._recruitmentContext = recruitmentContext; this._domainEventsDispatcher = domainEventsDispatcher; }
public CreateCourseCommandHandler(ICoursesRepository coursesRepository, ICourseHolderRespository courseHolderRespository, IDomainEventsDispatcher eventsDispatcher) { EnsureArg.IsNotNull(coursesRepository); this.coursesRepository = coursesRepository; this.courseHolderRespository = courseHolderRespository; this.eventsDispatcher = eventsDispatcher; }
public UnitOfWork( IMongoDatabase mongoDatabase, ISessionHolder sessionHolder, IDomainEventsDispatcher domainEventsDispatcher) { this.mongoDatabase = mongoDatabase ?? throw new ArgumentNullException(nameof(mongoDatabase)); this.sessionHolder = sessionHolder ?? throw new ArgumentNullException(nameof(sessionHolder)); this.domainEventsDispatcher = domainEventsDispatcher ?? throw new ArgumentNullException(nameof(domainEventsDispatcher)); }
internal CalendarRepository(SchedulingContext schedulingContext, ISqlConnectionFactory sqlConnectionFactory, IDomainEventsDispatcher domainEventsDispatcher ) { _sqlConnectionFactory = sqlConnectionFactory; _schedulingContext = schedulingContext; _domainEventsDispatcher = domainEventsDispatcher; }
public DomainEventDecoratorNotificationHandler( INotificationHandler <TEvent> intercepted, IDomainEventsDispatcher domainEventsDispatcher, ILogger <DomainEventDecoratorNotificationHandler <TEvent> > logger) { this.intercepted = intercepted ?? throw new ArgumentNullException(nameof(intercepted)); this.domainEventsDispatcher = domainEventsDispatcher ?? throw new ArgumentNullException(nameof(domainEventsDispatcher)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public AppDbContext( DbContextOptions <AppDbContext> options, IDomainEventsDispatcher domainEventsDispatcher, IMediator mediator) : base(options) { _domainEventsDispatcher = domainEventsDispatcher; _mediator = mediator; }
public DomainEventsDispatcherCommandHandlerDecorator( IRequestHandler <T, TResponse> decorated, DbDataContext db, IDomainEventsDispatcher domainEventsDispatcher ) { _domainEventsDispatcher = domainEventsDispatcher; _db = db; _decorated = decorated; }
public UnitOfWork( TContext dbContext, IDomainEventsDispatcher domainEventsDispatcher, IIntegrationEventDispatcher <TContext> integrationEventDispatcher ) { this._dbContext = dbContext; this._domainEventsDispatcher = domainEventsDispatcher; _integrationEventDispatcher = integrationEventDispatcher; _domainEventSource = new List <Entity>(); }
public AddContentCommandHandler(IFileRepository fileRepository, IContentHolderRepository contentHolderRepository, IDomainEventsDispatcher eventsDispatcher) { EnsureArg.IsNotNull(contentHolderRepository); EnsureArg.IsNotNull(eventsDispatcher); EnsureArg.IsNotNull(fileRepository); this.fileRepository = fileRepository; this.contentHolderRepository = contentHolderRepository; this.eventsDispatcher = eventsDispatcher; }
public PaymentsUnitOfWork( IOutbox outbox, IAggregateStore aggregateStore, IDomainEventsDispatcher domainEventsDispatcher, ISqlConnectionFactory sqlConnectionFactory) { _outbox = outbox; _aggregateStore = aggregateStore; _domainEventsDispatcher = domainEventsDispatcher; _sqlConnectionFactory = sqlConnectionFactory; }
public UnitOfWork( T context, IDomainEventsDispatcher domainEventsDispatcher) { var hash = context.GetHashCode(); Console.WriteLine(hash); this.context = context; this.domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork(ApplicationDbContext dbContext, IDomainEventsDispatcher domainEventsDispatcher) { _dbContext = dbContext; _domainEventsDispatcher = domainEventsDispatcher; }
public AggregateRootRepository(IDomainEventsDispatcher <TId> dispatcher, IEventStore <TId> eventStore) { _dispatcher = dispatcher; _eventStore = eventStore; }
public UnitOfWork( IDomainEventsDispatcher domainEventsDispatcher, RestaurantManagementContext context) { _domainEventsDispatcher = domainEventsDispatcher; _context = context; }
public UnitOfWork(DbContext dbContext, IDomainEventsDispatcher domainEventsDispatcher) { _dbContext = dbContext ?? throw new System.ArgumentNullException(nameof(dbContext)); _domainEventsDispatcher = domainEventsDispatcher ?? throw new System.ArgumentNullException(nameof(domainEventsDispatcher)); }
public DomainEventsDispatcherNotificationHandlerDecorator(INotificationHandler <T> decorated, IDomainEventsDispatcher domainEventsDispatcher) { _decorated = decorated; _domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork(IDomainEventsDispatcher domainEventsDispatcher, BookingContext ctx) { this.domainEventsDispatcher = domainEventsDispatcher; this.ctx = ctx; }
public OrdersContext(DbContextOptions <OrdersContext> options, IDomainEventsDispatcher domainEventsDispatcher, IMediator mediator) : base(options) { this._domainEventsDispatcher = domainEventsDispatcher; this._mediator = mediator; }
public Repository(TopocatContext context, IDomainEventsDispatcher domainEventsDispatcher) { _context = context; _domainEventsDispatcher = domainEventsDispatcher; }
public UnitOfWork(IDomainEventsDispatcher domainEventsDispatcher, AccessibilityContext ctx) { this.domainEventsDispatcher = domainEventsDispatcher; this.ctx = ctx; }