1 implementation of IClientErrorActionResult
Microsoft.AspNetCore.Mvc.Core (1)
StatusCodeResult.cs (1)
14
public partial class StatusCodeResult : ActionResult,
IClientErrorActionResult
11 references to IClientErrorActionResult
Microsoft.AspNetCore.Mvc.Core (9)
ApiBehaviorOptions.cs (3)
68
/// <see cref="
IClientErrorActionResult
"/>. Otherwise, the filter is suppressed.
71
/// By default, <see cref="ClientErrorMapping"/> is used to map <see cref="
IClientErrorActionResult
"/> to a
86
/// are used to transform <see cref="
IClientErrorActionResult
"/> to an <see cref="ObjectResult"/>
ApplicationModels\ClientErrorResultFilterConvention.cs (1)
11
/// to <see cref="ActionModel"/> that transforms <see cref="
IClientErrorActionResult
"/>.
Infrastructure\ClientErrorResultFilter.cs (1)
36
if (!(context.Result is
IClientErrorActionResult
clientError))
Infrastructure\IClientErrorFactory.cs (3)
10
/// with <see cref="ApiControllerAttribute"/> to transform <see cref="
IClientErrorActionResult
"/>.
18
/// <param name="clientError">The <see cref="
IClientErrorActionResult
"/>.</param>
20
IActionResult? GetClientError(ActionContext actionContext,
IClientErrorActionResult
clientError);
Infrastructure\ProblemDetailsClientErrorFactory.cs (1)
15
public IActionResult GetClientError(ActionContext actionContext,
IClientErrorActionResult
clientError)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ClientErrorResultFilterTest.cs (2)
40
.Setup(f => f.GetClientError(It.IsAny<ActionContext>(), It.IsAny<
IClientErrorActionResult
>()))
108
f => f.GetClientError(It.IsAny<ActionContext>(), It.IsAny<
IClientErrorActionResult
>()) == Result);