1 write to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2332factoryContext.JsonRequestBodyParameter = parameter;
9 references to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (9)
RequestDelegateFactory.cs (9)
407if (factoryContext.JsonRequestBodyParameter is not null) 685if (factoryContext.JsonRequestBodyParameter is not null && 1062if (factoryContext.JsonRequestBodyParameter is null) 1265if (factoryContext.JsonRequestBodyParameter is null && !factoryContext.ReadForm) 1306Debug.Assert(factoryContext.JsonRequestBodyParameter is not null, "factoryContext.JsonRequestBodyParameter is null for a JSON body."); 1308var bodyType = factoryContext.JsonRequestBodyParameter.ParameterType; 1310var parameterTypeName = TypeNameHelper.GetTypeDisplayName(factoryContext.JsonRequestBodyParameter.ParameterType, fullName: false); 1311var parameterName = factoryContext.JsonRequestBodyParameter.Name; 2316if (factoryContext.JsonRequestBodyParameter is not null)