1 instantiation of RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
279var factoryContext = new RequestDelegateFactoryContext
40 references to RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (40)
RequestDelegateFactory.cs (40)
141var factoryContext = CreateFactoryContext(options); 185var factoryContext = CreateFactoryContext(options, metadataResult, handler); 236var factoryContext = CreateFactoryContext(options, metadataResult); 264private static RequestDelegateFactoryContext CreateFactoryContext(RequestDelegateFactoryOptions? options, RequestDelegateMetadataResult? metadataResult = null, Delegate? handler = null) 266if (metadataResult?.CachedFactoryContext is RequestDelegateFactoryContext cachedFactoryContext) 279var factoryContext = new RequestDelegateFactoryContext 315RequestDelegateFactoryContext factoryContext, 388private static Expression[] CreateArgumentsAndInferMetadata(MethodInfo methodInfo, RequestDelegateFactoryContext factoryContext) 412private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression, RequestDelegateFactoryContext factoryContext, Expression<Func<HttpContext, object?>>? targetFactory) 584private static Expression CreateEndpointFilterInvocationContextBase(RequestDelegateFactoryContext factoryContext, Expression[] arguments) 639private static Expression[] CreateArguments(ParameterInfo[]? parameters, RequestDelegateFactoryContext factoryContext) 691private static Expression CreateArgument(ParameterInfo parameter, RequestDelegateFactoryContext factoryContext, out bool hasTryParse, out bool hasBindAsync, out bool isAsParameters) 937private static Expression CreateParamCheckingResponseWritingMethodCall(Type returnType, RequestDelegateFactoryContext factoryContext) 1059private static Expression AddResponseWritingToMethodCall(Expression methodCall, Type returnType, RequestDelegateFactoryContext factoryContext) 1251private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegate(Expression responseWritingMethodCall, RequestDelegateFactoryContext factoryContext) 1292private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegateForJson(Expression responseWritingMethodCall, RequestDelegateFactoryContext factoryContext) 1427RequestDelegateFactoryContext factoryContext) 1559private static Expression BindParameterFromProperties(ParameterInfo parameter, RequestDelegateFactoryContext factoryContext) 1633private static Expression BindParameterFromService(ParameterInfo parameter, RequestDelegateFactoryContext factoryContext) 1644private static Expression BindParameterFromKeyedService(ParameterInfo parameter, object key, RequestDelegateFactoryContext factoryContext) 1659private static Expression BindParameterFromValue(ParameterInfo parameter, Expression valueExpression, RequestDelegateFactoryContext factoryContext, string source) 1889RequestDelegateFactoryContext factoryContext, 1958private static Expression BindParameterFromProperty(ParameterInfo parameter, MemberExpression property, PropertyInfo itemProperty, string key, RequestDelegateFactoryContext factoryContext, string source) => 1967private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key, RequestDelegateFactoryContext factoryContext) 1974private static Expression BindParameterFromBindAsync(ParameterInfo parameter, RequestDelegateFactoryContext factoryContext) 2017private static void AddInferredAcceptsMetadata(RequestDelegateFactoryContext factoryContext, Type type, string[] contentTypes) 2027private static void InferFormAcceptsMetadata(RequestDelegateFactoryContext factoryContext) 2039private static void InferAntiforgeryMetadata(RequestDelegateFactoryContext factoryContext) 2051RequestDelegateFactoryContext factoryContext) 2067RequestDelegateFactoryContext factoryContext) 2082private static void UpdateFormBindingArgumentExpressions(RequestDelegateFactoryContext factoryContext) 2104RequestDelegateFactoryContext factoryContext, 2234RequestDelegateFactoryContext factoryContext) 2251RequestDelegateFactoryContext factoryContext, 2268private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty, RequestDelegateFactoryContext factoryContext) 2352private static bool IsOptionalParameter(ParameterInfo parameter, RequestDelegateFactoryContext factoryContext) 2823private static string BuildErrorMessageForMultipleBodyParameters(RequestDelegateFactoryContext factoryContext) 2840private static string BuildErrorMessageForInferredBodyParameter(RequestDelegateFactoryContext factoryContext) 2857private static string BuildErrorMessageForFormAndJsonBodyParameters(RequestDelegateFactoryContext factoryContext) 2871private static void FormatTrackedParameters(RequestDelegateFactoryContext factoryContext, StringBuilder errorMessage)