1 write to HasJsonBodyOrService
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
255
endpoint.EmitterContext.
HasJsonBodyOrService
|= Source == EndpointParameterSource.JsonBodyOrService;
3 references to HasJsonBodyOrService
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
RequestDelegateGenerator.cs (2)
174
var hasJsonBodyOrService = endpoints.Any(endpoint => endpoint.EmitterContext.
HasJsonBodyOrService
);
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;