6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
UnprocessableEntity.cs (3)
31
int? IStatusCodeHttpResult.StatusCode =>
StatusCode
;
42
HttpResultsHelper.Log.WritingResultAsStatusCode(logger,
StatusCode
);
43
httpContext.Response.StatusCode =
StatusCode
;
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (1)
1695
Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.
StatusCode
);
TypedResultsTests.cs (1)
1474
Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.
StatusCode
);
UnprocessableEntityResultTests.cs (1)
25
Assert.Equal(StatusCodes.Status422UnprocessableEntity, result.
StatusCode
);