public ErrorCatcherCommandDecorator(TypedMessageHandler <TCommand> decorated, IEventBus eventBus, IRootProcessRegistrator rootProcessRegistrator) : base(decorated, rootProcessRegistrator) { _decorated = decorated; _eventBus = eventBus; }
public SaveDbContextMessageDecorator(TypedMessageHandler <TCommand, TResult> decorated, IDbContext dbContext, IRootProcessRegistrator rootProcessRegistrator) : base(decorated, rootProcessRegistrator) { _decorated = decorated; _dbContext = dbContext; }
//private readonly RightTranslator _rightTranslator; public AuthorizationQueryDecorator( TypedMessageHandler <TQuery, TResult> decorated, IAuthorizationChecker authorizationChecker, IRootProcessRegistrator rootProcessRegistrator //RightTranslator rightTranslator, ) { _decorated = decorated; _authorizationChecker = authorizationChecker; _rootProcessRegistrator = rootProcessRegistrator; //_rightTranslator = rightTranslator; }
public RootQueryDecorator(TypedMessageHandler <TMessage, TResponse> decoratee, IRootProcessRegistrator rootProcessRegistrator) { _decoratee = decoratee; _rootProcessRegistrator = rootProcessRegistrator; }
public RootCommandDecorator(TypedMessageHandler <TMessage> decoratee, IRootProcessRegistrator rootProcessRegistrator) { _decoratee = decoratee; _rootProcessRegistrator = rootProcessRegistrator; }
protected RootQueryHandlerDecorator(TypedMessageHandler <TMessage, TResult> decorated, IRootProcessRegistrator rootProcessRegistrator) { _decorated = decorated; _rootProcessRegistrator = rootProcessRegistrator; }
protected RootCommandHandlerDecorator(TypedMessageHandler <TMessage> decorated, IRootProcessRegistrator rootProcessRegistrator) { _decorated = decorated; _rootProcessRegistrator = rootProcessRegistrator; }