Example #1
0
 public RequestHandler4 <T, TR, TU, TI> Param <TI>()
 => new RequestHandler4 <T, TR, TU, TI>(
     Method,
     Path,
     ResolverParam1,
     ResolverParam2,
     ResolverParam3,
     ParameterResolver.Path <TI>(3),
     ErrorHandler,
     MediaTypeMapper);
Example #2
0
 public RequestHandler5 <T, TR, TU, TI, TJ> Param <TJ>()
 => new RequestHandler5 <T, TR, TU, TI, TJ>(
     Method,
     Path,
     ResolverParam1,
     ResolverParam2,
     ResolverParam3,
     ResolverParam4,
     ParameterResolver.Path <TJ>(4),
     ErrorHandler,
     MediaTypeMapper);
Example #3
0
 public RequestHandler1 <T> Param <T>()
 => new RequestHandler1 <T>(Method, Path, ParameterResolver.Path <T>(0), ErrorHandler, MediaTypeMapper);
Example #4
0
 public RequestHandler2 <T, R> Param <R>()
 => new RequestHandler2 <T, R>(Method, Path, Resolver, ParameterResolver.Path <R>(1), ErrorHandler, MediaTypeMapper);
Example #5
0
 public RequestHandler3 <T, TR, TU> Param <TU>()
 => new RequestHandler3 <T, TR, TU>(Method, Path, ResolverParam1, ResolverParam2, ParameterResolver.Path <TU>(2), ErrorHandler, MediaTypeMapper);