1 instantiation of RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
280
var factoryContext = new
RequestDelegateFactoryContext
40 references to RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (40)
RequestDelegateFactory.cs (40)
142
var
factoryContext = CreateFactoryContext(options);
186
var
factoryContext = CreateFactoryContext(options, metadataResult, handler);
237
var
factoryContext = CreateFactoryContext(options, metadataResult);
265
private static
RequestDelegateFactoryContext
CreateFactoryContext(RequestDelegateFactoryOptions? options, RequestDelegateMetadataResult? metadataResult = null, Delegate? handler = null)
267
if (metadataResult?.CachedFactoryContext is
RequestDelegateFactoryContext
cachedFactoryContext)
280
var
factoryContext = new RequestDelegateFactoryContext
316
RequestDelegateFactoryContext
factoryContext,
389
private static Expression[] CreateArgumentsAndInferMetadata(MethodInfo methodInfo,
RequestDelegateFactoryContext
factoryContext)
413
private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression,
RequestDelegateFactoryContext
factoryContext, Expression<Func<HttpContext, object?>>? targetFactory)
585
private static Expression CreateEndpointFilterInvocationContextBase(
RequestDelegateFactoryContext
factoryContext, Expression[] arguments)
640
private static Expression[] CreateArguments(ParameterInfo[]? parameters,
RequestDelegateFactoryContext
factoryContext)
692
private static Expression CreateArgument(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext, out bool hasTryParse, out bool hasBindAsync, out bool isAsParameters)
938
private static Expression CreateParamCheckingResponseWritingMethodCall(Type returnType,
RequestDelegateFactoryContext
factoryContext)
1060
private static Expression AddResponseWritingToMethodCall(Expression methodCall, Type returnType,
RequestDelegateFactoryContext
factoryContext)
1252
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegate(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1293
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegateForJson(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1428
RequestDelegateFactoryContext
factoryContext)
1560
private static Expression BindParameterFromProperties(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1634
private static Expression BindParameterFromService(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1645
private static Expression BindParameterFromKeyedService(ParameterInfo parameter, object key,
RequestDelegateFactoryContext
factoryContext)
1660
private static Expression BindParameterFromValue(ParameterInfo parameter, Expression valueExpression,
RequestDelegateFactoryContext
factoryContext, string source)
1890
RequestDelegateFactoryContext
factoryContext,
1959
private static Expression BindParameterFromProperty(ParameterInfo parameter, MemberExpression property, PropertyInfo itemProperty, string key,
RequestDelegateFactoryContext
factoryContext, string source)
1974
private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key,
RequestDelegateFactoryContext
factoryContext)
1981
private static Expression BindParameterFromBindAsync(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2024
private static void AddInferredAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext, Type type, string[] contentTypes)
2034
private static void InferFormAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext)
2046
private static void InferAntiforgeryMetadata(
RequestDelegateFactoryContext
factoryContext)
2058
RequestDelegateFactoryContext
factoryContext)
2074
RequestDelegateFactoryContext
factoryContext)
2089
private static void UpdateFormBindingArgumentExpressions(
RequestDelegateFactoryContext
factoryContext)
2111
RequestDelegateFactoryContext
factoryContext,
2241
RequestDelegateFactoryContext
factoryContext)
2258
RequestDelegateFactoryContext
factoryContext,
2275
private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty,
RequestDelegateFactoryContext
factoryContext)
2359
private static bool IsOptionalParameter(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2830
private static string BuildErrorMessageForMultipleBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2847
private static string BuildErrorMessageForInferredBodyParameter(
RequestDelegateFactoryContext
factoryContext)
2864
private static string BuildErrorMessageForFormAndJsonBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2878
private static void FormatTrackedParameters(
RequestDelegateFactoryContext
factoryContext, StringBuilder errorMessage)