public RequestHandler2 <T, R> Body <R>(IMapper mapper) => new RequestHandler2 <T, R>( Method, Path, Resolver, ParameterResolver.Body <R>(mapper), ErrorHandler, MediaTypeMapper);
public RequestHandler3 <T, TR, TU> Body <TU>(IMapper mapper) => new RequestHandler3 <T, TR, TU>( Method, Path, ResolverParam1, ResolverParam2, ParameterResolver.Body <TU>(mapper), ErrorHandler, MediaTypeMapper);
public RequestHandler4 <T, TR, TU, TI> Body <TI>() => new RequestHandler4 <T, TR, TU, TI>( Method, Path, ResolverParam1, ResolverParam2, ResolverParam3, ParameterResolver.Body <TI>(MediaTypeMapper), ErrorHandler, MediaTypeMapper);
public RequestHandler5 <T, TR, TU, TI, TJ> Body <TJ>(MediaTypeMapper mediaTypeMapper) => new RequestHandler5 <T, TR, TU, TI, TJ>( Method, Path, ResolverParam1, ResolverParam2, ResolverParam3, ResolverParam4, ParameterResolver.Body <TJ>(mediaTypeMapper), ErrorHandler, mediaTypeMapper);
public RequestHandler2 <T, R> Body <R>(MediaTypeMapper mediaTypeMapper) { MediaTypeMapper = mediaTypeMapper; return(new RequestHandler2 <T, R>( Method, Path, Resolver, ParameterResolver.Body <R>(mediaTypeMapper), ErrorHandler, mediaTypeMapper)); }
public RequestHandler3 <T, TR, TU> Body <TU>(MediaTypeMapper mediaTypeMapper) { MediaTypeMapper = mediaTypeMapper; return(new RequestHandler3 <T, TR, TU>( Method, Path, ResolverParam1, ResolverParam2, ParameterResolver.Body <TU>(mediaTypeMapper), ErrorHandler, MediaTypeMapper)); }
public RequestHandler1 <T> Body <T>() => new RequestHandler1 <T>(Method, Path, ParameterResolver.Body <T>(MediaTypeMapper), ErrorHandler, MediaTypeMapper);