Implemented interface member:
property
StatusCode
Microsoft.AspNetCore.Http.IStatusCodeHttpResult.StatusCode
1 write to StatusCode
Microsoft.AspNetCore.Http.Results (1)
ContentHttpResult.cs (1)
34
StatusCode
= statusCode;
14 references to StatusCode
Microsoft.AspNetCore.Http.Results (1)
ContentHttpResult.cs (1)
66
if (
StatusCode
is { } statusCode)
Microsoft.AspNetCore.Http.Results.Tests (13)
ResultsTests.cs (6)
530
Assert.Null(result.
StatusCode
);
547
Assert.Null(result.
StatusCode
);
565
Assert.Equal(statusCode, result.
StatusCode
);
1601
Assert.Null(result.
StatusCode
);
1651
Assert.Null(result.
StatusCode
);
1671
Assert.Equal(statusCode, result.
StatusCode
);
TypedResultsTests.cs (7)
526
Assert.Null(result.
StatusCode
);
543
Assert.Null(result.
StatusCode
);
561
Assert.Equal(statusCode, result.
StatusCode
);
1380
Assert.Null(result.
StatusCode
);
1396
Assert.Null(result.
StatusCode
);
1430
Assert.Null(result.
StatusCode
);
1450
Assert.Equal(statusCode, result.
StatusCode
);