private static EndpointRequestHandlerDeclaration BuildNoContentResponse(NoResultEndpointMethodExecutor voidEndpointMethodExecutor, EndpointHandlerParameterDeclaration[] parameterInfo) { var parameterArrayFactory = BuildParameterArrayFactory(parameterInfo); return(new EndpointRequestHandlerDeclaration( (ctx) => new NoContentRequestHandler(voidEndpointMethodExecutor, ctx, parameterArrayFactory), parameterInfo, typeof(void) )); }
public NoContentRequestHandler(NoResultEndpointMethodExecutor executor, HttpContext httpContext, ParameterArrayFactory parameterFactory) { this.executor = executor; this.httpContext = httpContext; this.parameterFactory = parameterFactory; }