예제 #1
0
 public RequestHandler2 <T, R> Query <R>(string name, R defaultValue)
 => new RequestHandler2 <T, R>(
     Method,
     Path,
     Resolver,
     ParameterResolver.Query(name, defaultValue),
     ErrorHandler,
     MediaTypeMapper);
예제 #2
0
 public RequestHandler4 <T, TR, TU, TI> Query <TI>(string name, Type queryClass)
 => new RequestHandler4 <T, TR, TU, TI>(
     Method,
     Path,
     ResolverParam1,
     ResolverParam2,
     ResolverParam3,
     ParameterResolver.Query <TI>(name),
     ErrorHandler,
     MediaTypeMapper);