Exemplo n.º 1
0
 public RequestHandler(
     LoggingHandler <TRequest, TResponse> loggingHandler,
     AuthorizationConfigBase <TRequest, TResponse> authorizationConfigBase,
     AuthorizationHandler <TRequest, TResponse> authorizationHandler,
     ValidationHandlerBase <TRequest, TResponse> validationHandlerBase,
     RequestEventHandler <TRequest, TResponse> requestEventHandler,
     CacheHandler <TRequest, TResponse> cacheHandler,
     ExecutionHandlerBase <TRequest, TResponse> executionHandlerBase)
 {
     AddHandler(loggingHandler);
     AddHandler(authorizationConfigBase);
     AddHandler(authorizationHandler);
     AddHandler(validationHandlerBase);
     AddHandler(requestEventHandler);
     AddHandler(cacheHandler);
     AddHandler(executionHandlerBase);
 }
Exemplo n.º 2
0
 public RequestHandler(
     LoggingHandler <TRequest, TResponse> loggingHandler,
     AuthorizationConfigBase <TRequest, TResponse> authorizationConfigBase,
     AuthorizationHandler <TRequest, TResponse> authorizationHandler,
     ValidationHandlerBase <TRequest, TResponse> validationHandlerBase,
     EventsHandler <TRequest, TResponse> eventsHandler,
     AuditingHandler <TRequest, TResponse> auditingHandler,
     CacheHandler <TRequest, TResponse> cacheHandler,
     ProcessorHandlerBase <TRequest, TResponse> processorHandlerBase,
     ExecutionHandlerBase <TRequest, TResponse> executionHandlerBase)
 {
     AddHandler(loggingHandler);
     AddHandler(authorizationConfigBase);
     AddHandler(authorizationHandler);
     AddHandler(validationHandlerBase);
     AddHandler(eventsHandler);
     AddHandler(auditingHandler);
     AddHandler(cacheHandler);
     AddHandler(processorHandlerBase);
     AddHandler(executionHandlerBase);
 }