public RedisQueryHandlerPlugin_Testing( QueryHandlerDelegates <TRequestDto, TEntity, TOut> queryHandlerDelegates, IDelegateContext redisContext ) { _redisContext = redisContext; _queryHandlerDelegates = queryHandlerDelegates; }
public RedisQueryHandlerPlugin( QueryHandlerDelegates <TRequestDto, TEntity, TOut> queryHandlerDelegates, IDelegateContext redisContext ) { _redisContext = redisContext; _queryHandlerDelegates = queryHandlerDelegates; _queryHandlerDelegates.BeforeGetEntity += Get; _queryHandlerDelegates.AfterExecute += Set; }
public RedisCommandHandlerPlugin_Testing( CommandHandlerDelegates <TRequestDto, TEntity, TOut> commandHandlerDelegates, ILifetimeScope scope, IDelegateContext redisContext ) { _scope = scope; _redisContext = redisContext; _commandHandlerDelegates = commandHandlerDelegates; }
public RedisCommandHandlerPlugin( CommandHandlerDelegates <TRequestDto, TEntity, TOut> commandHandlerDelegates, ILifetimeScope scope, IDelegateContext redisContext ) { _scope = scope; _redisContext = redisContext; _commandHandlerDelegates = commandHandlerDelegates; _commandHandlerDelegates.AfterExecute += Delete; }
public GetLeadWorkerHandler(IMapper mapper, IApplicationUserContext applicationUserContext, IReadOnlyRepository repository, IWorkerContext <GetLeadResponse> context, IDelegateContext redisContext, ILifetimeScope scope ) : base(mapper, repository, scope, context) { _applicationUserContext = applicationUserContext; _redisContext = redisContext; }