1 instantiation of RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
281
var factoryContext = new
RequestDelegateFactoryContext
41 references to RequestDelegateFactoryContext
Microsoft.AspNetCore.Http.Extensions (41)
RequestDelegateFactory.cs (41)
143
var
factoryContext = CreateFactoryContext(options);
187
var
factoryContext = CreateFactoryContext(options, metadataResult, handler);
238
var
factoryContext = CreateFactoryContext(options, metadataResult);
266
private static
RequestDelegateFactoryContext
CreateFactoryContext(RequestDelegateFactoryOptions? options, RequestDelegateMetadataResult? metadataResult = null, Delegate? handler = null)
268
if (metadataResult?.CachedFactoryContext is
RequestDelegateFactoryContext
cachedFactoryContext)
281
var
factoryContext = new RequestDelegateFactoryContext
317
RequestDelegateFactoryContext
factoryContext,
390
private static Expression[] CreateArgumentsAndInferMetadata(MethodInfo methodInfo,
RequestDelegateFactoryContext
factoryContext)
421
private static EndpointFilterDelegate? CreateFilterPipeline(MethodInfo methodInfo, Expression? targetExpression,
RequestDelegateFactoryContext
factoryContext, Expression<Func<HttpContext, object?>>? targetFactory)
593
private static Expression CreateEndpointFilterInvocationContextBase(
RequestDelegateFactoryContext
factoryContext, Expression[] arguments)
648
private static Expression[] CreateArguments(ParameterInfo[]? parameters,
RequestDelegateFactoryContext
factoryContext)
700
private static Expression CreateArgument(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext, out bool hasTryParse, out bool hasBindAsync, out bool isAsParameters)
946
private static Expression CreateParamCheckingResponseWritingMethodCall(Type returnType,
RequestDelegateFactoryContext
factoryContext, bool filterPipelineBuilt)
1034
private static void PopulateBuiltInResponseTypeMetadata(Type returnType,
RequestDelegateFactoryContext
factoryContext)
1071
private static Expression AddResponseWritingToMethodCall(Expression methodCall, Type returnType,
RequestDelegateFactoryContext
factoryContext)
1263
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegate(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1304
private static Func<object?, HttpContext, Task> HandleRequestBodyAndCompileRequestDelegateForJson(Expression responseWritingMethodCall,
RequestDelegateFactoryContext
factoryContext)
1439
RequestDelegateFactoryContext
factoryContext)
1571
private static Expression BindParameterFromProperties(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1645
private static Expression BindParameterFromService(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1656
private static Expression BindParameterFromKeyedService(ParameterInfo parameter, object? key,
RequestDelegateFactoryContext
factoryContext)
1671
private static Expression BindParameterFromValue(ParameterInfo parameter, Expression valueExpression,
RequestDelegateFactoryContext
factoryContext, string source)
1901
RequestDelegateFactoryContext
factoryContext,
1970
private static Expression BindParameterFromProperty(ParameterInfo parameter, MemberExpression property, PropertyInfo itemProperty, string key,
RequestDelegateFactoryContext
factoryContext, string source)
2022
private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key,
RequestDelegateFactoryContext
factoryContext)
2029
private static Expression BindParameterFromBindAsync(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2072
private static void AddInferredAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext, Type type, string[] contentTypes)
2082
private static void InferFormAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext)
2094
private static void InferAntiforgeryMetadata(
RequestDelegateFactoryContext
factoryContext)
2106
RequestDelegateFactoryContext
factoryContext)
2122
RequestDelegateFactoryContext
factoryContext)
2137
private static void UpdateFormBindingArgumentExpressions(
RequestDelegateFactoryContext
factoryContext)
2159
RequestDelegateFactoryContext
factoryContext,
2289
RequestDelegateFactoryContext
factoryContext)
2306
RequestDelegateFactoryContext
factoryContext,
2323
private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty,
RequestDelegateFactoryContext
factoryContext)
2407
private static bool IsOptionalParameter(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2878
private static string BuildErrorMessageForMultipleBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2895
private static string BuildErrorMessageForInferredBodyParameter(
RequestDelegateFactoryContext
factoryContext)
2912
private static string BuildErrorMessageForFormAndJsonBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2926
private static void FormatTrackedParameters(
RequestDelegateFactoryContext
factoryContext, StringBuilder errorMessage)