1 write to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2303factoryContext.JsonRequestBodyParameter = parameter;
9 references to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (9)
RequestDelegateFactory.cs (9)
406if (factoryContext.JsonRequestBodyParameter is not null) 684if (factoryContext.JsonRequestBodyParameter is not null && 1061if (factoryContext.JsonRequestBodyParameter is null) 1264if (factoryContext.JsonRequestBodyParameter is null && !factoryContext.ReadForm) 1305Debug.Assert(factoryContext.JsonRequestBodyParameter is not null, "factoryContext.JsonRequestBodyParameter is null for a JSON body."); 1307var bodyType = factoryContext.JsonRequestBodyParameter.ParameterType; 1309var parameterTypeName = TypeNameHelper.GetTypeDisplayName(factoryContext.JsonRequestBodyParameter.ParameterType, fullName: false); 1310var parameterName = factoryContext.JsonRequestBodyParameter.Name; 2287if (factoryContext.JsonRequestBodyParameter is not null)