public UsersCommandsProcessor( IEventStore eventStore, IUsersQueryHandlerAsync queryHandlerAsync, IMediator mediator) { this.eventStore = eventStore; this.queryHandlerAsync = queryHandlerAsync; this.mediator = mediator; }
public UserController( IUserCommandsProcessor commandsProcessor, IUsersQueryHandlerAsync queryHandlerAsync, ICorrelationContextAccessor correlationContext) { this.commandsProcessor = commandsProcessor; this.queryHandlerAsync = queryHandlerAsync; this.correlationContext = correlationContext; }
public UserDeletedNotificationHandler(UsersElasticSearchRepository repository, IUsersQueryHandlerAsync usersQueryHandlerAsync) { this.repository = repository; this.usersQueryHandlerAsync = usersQueryHandlerAsync; }
public UserCreatedNotificationHandler(UsersElasticSearchRepository repository, IUsersQueryHandlerAsync queryHandlerAsync) { this.repository = repository; this.queryHandlerAsync = queryHandlerAsync; }