1 write to HasJsonBody
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
254
endpoint.EmitterContext.
HasJsonBody
|= Source == EndpointParameterSource.JsonBody;
3 references to HasJsonBody
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
RequestDelegateGenerator.cs (2)
176
var hasJsonBody = endpoints.Any(endpoint => endpoint.EmitterContext.
HasJsonBody
);
241
var hasJsonBody = endpoints.Any(endpoint => endpoint.EmitterContext.
HasJsonBody
|| endpoint.EmitterContext.HasJsonBodyOrService || endpoint.EmitterContext.HasJsonBodyOrQuery);
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (1)
354
var hasJsonBody = endpoint.EmitterContext.
HasJsonBody
|| endpoint.EmitterContext.HasJsonBodyOrService || endpoint.EmitterContext.HasJsonBodyOrQuery;