1 write to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2293
factoryContext.
JsonRequestBodyParameter
= parameter;
7 references to JsonRequestBodyParameter
Microsoft.AspNetCore.Http.Extensions (7)
RequestDelegateFactory.cs (7)
677
if (factoryContext.
JsonRequestBodyParameter
is not null &&
1254
if (factoryContext.
JsonRequestBodyParameter
is null && !factoryContext.ReadForm)
1295
Debug.Assert(factoryContext.
JsonRequestBodyParameter
is not null, "factoryContext.JsonRequestBodyParameter is null for a JSON body.");
1297
var bodyType = factoryContext.
JsonRequestBodyParameter
.ParameterType;
1299
var parameterTypeName = TypeNameHelper.GetTypeDisplayName(factoryContext.
JsonRequestBodyParameter
.ParameterType, fullName: false);
1300
var parameterName = factoryContext.
JsonRequestBodyParameter
.Name;
2277
if (factoryContext.
JsonRequestBodyParameter
is not null)