6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
BadRequest.cs (3)
31
int? IStatusCodeHttpResult.StatusCode =>
StatusCode
;
42
HttpResultsHelper.Log.WritingResultAsStatusCode(logger,
StatusCode
);
43
httpContext.Response.StatusCode =
StatusCode
;
Microsoft.AspNetCore.Http.Results.Tests (3)
BadRequestResultTests.cs (1)
25
Assert.Equal(StatusCodes.Status400BadRequest, badRequestResult.
StatusCode
);
ResultsTests.cs (1)
257
Assert.Equal(StatusCodes.Status400BadRequest, result.
StatusCode
);
TypedResultsTests.cs (1)
235
Assert.Equal(StatusCodes.Status400BadRequest, result.
StatusCode
);