6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
NoContent.cs (3)
30
int? IStatusCodeHttpResult.StatusCode =>
StatusCode
;
41
HttpResultsHelper.Log.WritingResultAsStatusCode(logger,
StatusCode
);
43
httpContext.Response.StatusCode =
StatusCode
;
Microsoft.AspNetCore.Http.Results.Tests (3)
NoContentResultTests.cs (1)
24
Assert.Equal(StatusCodes.Status204NoContent, result.
StatusCode
);
ResultsTests.cs (1)
1162
Assert.Equal(StatusCodes.Status204NoContent, result.
StatusCode
);
TypedResultsTests.cs (1)
1006
Assert.Equal(StatusCodes.Status204NoContent, result.
StatusCode
);