Implemented interface member:
property
StatusCode
Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode
1 write to StatusCode
Microsoft.AspNetCore.Http.Results (1)
Utf8ContentHttpResult.cs (1)
25StatusCode = statusCode;
4 references to StatusCode
Microsoft.AspNetCore.Http.Results (1)
Utf8ContentHttpResult.cs (1)
53if (StatusCode is { } statusCode)
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (2)
1617Assert.Null(result.StatusCode); 1634Assert.Equal(statusCode, result.StatusCode);
Utf8ContentResultTests.cs (1)
27Assert.Equal(401, result.StatusCode);