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)
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)
2013
private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key,
RequestDelegateFactoryContext
factoryContext)
2020
private static Expression BindParameterFromBindAsync(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2063
private static void AddInferredAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext, Type type, string[] contentTypes)
2073
private static void InferFormAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext)
2085
private static void InferAntiforgeryMetadata(
RequestDelegateFactoryContext
factoryContext)
2097
RequestDelegateFactoryContext
factoryContext)
2113
RequestDelegateFactoryContext
factoryContext)
2128
private static void UpdateFormBindingArgumentExpressions(
RequestDelegateFactoryContext
factoryContext)
2150
RequestDelegateFactoryContext
factoryContext,
2280
RequestDelegateFactoryContext
factoryContext)
2297
RequestDelegateFactoryContext
factoryContext,
2314
private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty,
RequestDelegateFactoryContext
factoryContext)
2398
private static bool IsOptionalParameter(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2869
private static string BuildErrorMessageForMultipleBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2886
private static string BuildErrorMessageForInferredBodyParameter(
RequestDelegateFactoryContext
factoryContext)
2903
private static string BuildErrorMessageForFormAndJsonBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2917
private static void FormatTrackedParameters(
RequestDelegateFactoryContext
factoryContext, StringBuilder errorMessage)