1 instantiation of RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
280
var factoryContext = new
RequestDelegateFactoryContext
41 references to RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (41)
RequestDelegateFactory.cs (41)
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)
420
private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression,
RequestDelegateFactoryContext
factoryContext, Expression<Func<HttpContext, object?>>? targetFactory)
592
private static Expression CreateEndpointFilterInvocationContextBase(
RequestDelegateFactoryContext
factoryContext, Expression[] arguments)
647
private static Expression[] CreateArguments(ParameterInfo[]? parameters,
RequestDelegateFactoryContext
factoryContext)
699
private static Expression CreateArgument(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext, out bool hasTryParse, out bool hasBindAsync, out bool isAsParameters)
945
private static Expression CreateParamCheckingResponseWritingMethodCall(Type returnType,
RequestDelegateFactoryContext
factoryContext)
1033
private static void PopulateBuiltInResponseTypeMetadata(Type returnType,
RequestDelegateFactoryContext
factoryContext)
1070
private static Expression AddResponseWritingToMethodCall(Expression methodCall, Type returnType,
RequestDelegateFactoryContext
factoryContext)
1262
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegate(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1303
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegateForJson(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1438
RequestDelegateFactoryContext
factoryContext)
1570
private static Expression BindParameterFromProperties(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1644
private static Expression BindParameterFromService(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1655
private static Expression BindParameterFromKeyedService(ParameterInfo parameter, object? key,
RequestDelegateFactoryContext
factoryContext)
1670
private static Expression BindParameterFromValue(ParameterInfo parameter, Expression valueExpression,
RequestDelegateFactoryContext
factoryContext, string source)
1900
RequestDelegateFactoryContext
factoryContext,
1969
private static Expression BindParameterFromProperty(ParameterInfo parameter, MemberExpression property, PropertyInfo itemProperty, string key,
RequestDelegateFactoryContext
factoryContext, string source)
1984
private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key,
RequestDelegateFactoryContext
factoryContext)
1991
private static Expression BindParameterFromBindAsync(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2034
private static void AddInferredAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext, Type type, string[] contentTypes)
2044
private static void InferFormAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext)
2056
private static void InferAntiforgeryMetadata(
RequestDelegateFactoryContext
factoryContext)
2068
RequestDelegateFactoryContext
factoryContext)
2084
RequestDelegateFactoryContext
factoryContext)
2099
private static void UpdateFormBindingArgumentExpressions(
RequestDelegateFactoryContext
factoryContext)
2121
RequestDelegateFactoryContext
factoryContext,
2251
RequestDelegateFactoryContext
factoryContext)
2268
RequestDelegateFactoryContext
factoryContext,
2285
private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty,
RequestDelegateFactoryContext
factoryContext)
2369
private static bool IsOptionalParameter(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2840
private static string BuildErrorMessageForMultipleBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2857
private static string BuildErrorMessageForInferredBodyParameter(
RequestDelegateFactoryContext
factoryContext)
2874
private static string BuildErrorMessageForFormAndJsonBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2888
private static void FormatTrackedParameters(
RequestDelegateFactoryContext
factoryContext, StringBuilder errorMessage)