1 write to IsIResult
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointResponse.cs (1)
35
IsIResult
= GetIsIResult();
9 references to IsIResult
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
RequestDelegateGenerator.cs (1)
183
var hasIResult = endpoints.Any(endpoint => endpoint.Response?.
IsIResult
== true);
StaticRouteHandlerModel\Endpoint.cs (1)
39
EmitterContext.HasResponseMetadata = Response is { } response && !(response.
IsIResult
|| response.HasNoResponse);
StaticRouteHandlerModel\EndpointResponse.cs (5)
73
!
IsIResult
&&
93
if (
IsIResult
|| HasNoResponse)
109
otherEndpointResponse.
IsIResult
==
IsIResult
&&
114
HashCode.Combine(SymbolEqualityComparer.Default.GetHashCode(ResponseType), SymbolEqualityComparer.Default.GetHashCode(WrappedResponseType), WrappedResponseTypeDisplayName, IsAwaitable, HasNoResponse,
IsIResult
, ContentType);
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (2)
140
if (endpointResponse.
IsIResult
)
208
if (!endpoint.Response.IsAwaitable && (response.HasNoResponse || response.
IsIResult
))