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)
1461
RequestDelegateFactoryContext
factoryContext)
1593
private static Expression BindParameterFromProperties(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1667
private static Expression BindParameterFromService(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
1678
private static Expression BindParameterFromKeyedService(ParameterInfo parameter, object? key,
RequestDelegateFactoryContext
factoryContext)
1693
private static Expression BindParameterFromValue(ParameterInfo parameter, Expression valueExpression,
RequestDelegateFactoryContext
factoryContext, string source)
1923
RequestDelegateFactoryContext
factoryContext,
1992
private static Expression BindParameterFromProperty(ParameterInfo parameter, MemberExpression property, PropertyInfo itemProperty, string key,
RequestDelegateFactoryContext
factoryContext, string source)
2044
private static Expression BindParameterFromRouteValueOrQueryString(ParameterInfo parameter, string key,
RequestDelegateFactoryContext
factoryContext)
2051
private static Expression BindParameterFromBindAsync(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2094
private static void AddInferredAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext, Type type, string[] contentTypes)
2104
private static void InferFormAcceptsMetadata(
RequestDelegateFactoryContext
factoryContext)
2116
private static void InferAntiforgeryMetadata(
RequestDelegateFactoryContext
factoryContext)
2128
RequestDelegateFactoryContext
factoryContext)
2144
RequestDelegateFactoryContext
factoryContext)
2159
private static void UpdateFormBindingArgumentExpressions(
RequestDelegateFactoryContext
factoryContext)
2181
RequestDelegateFactoryContext
factoryContext,
2317
RequestDelegateFactoryContext
factoryContext)
2334
RequestDelegateFactoryContext
factoryContext,
2351
private static Expression BindParameterFromBody(ParameterInfo parameter, bool allowEmpty,
RequestDelegateFactoryContext
factoryContext)
2435
private static bool IsOptionalParameter(ParameterInfo parameter,
RequestDelegateFactoryContext
factoryContext)
2906
private static string BuildErrorMessageForMultipleBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2923
private static string BuildErrorMessageForInferredBodyParameter(
RequestDelegateFactoryContext
factoryContext)
2940
private static string BuildErrorMessageForFormAndJsonBodyParameters(
RequestDelegateFactoryContext
factoryContext)
2954
private static void FormatTrackedParameters(
RequestDelegateFactoryContext
factoryContext, StringBuilder errorMessage)