public RequestHandler2 <T, R> Handle(Handler2 handler) { _executor = (request, param1, param2, mediaTypeMapper1, errorHandler1, logger1) => RequestExecutor.ExecuteRequest(() => handler.Invoke(param1, param2), errorHandler1, logger1); return(this); }
public RequestHandler6 <T, R, U, I, J, K>?Handle(Handler6 handler) { _executor = (request, param1, param2, param3, param4, param5, param6, mediaTypeMapper1, errorHandler1, logger1) => RequestExecutor.ExecuteRequest(() => handler.Invoke(param1, param2, param3, param4, param5, param6), errorHandler1, logger1); return(this); }
public RequestHandler0?Handle(Handler0 handler) { _executor = (request, mediaTypeMapper1, errorHandler1, logger) => RequestExecutor.ExecuteRequest(() => handler.Invoke(), errorHandler1, logger); return(this); }