6 references to StatusCode
Microsoft.AspNetCore.Http.Results (3)
Conflict.cs (3)
31
int? IStatusCodeHttpResult.StatusCode =>
StatusCode
;
42
HttpResultsHelper.Log.WritingResultAsStatusCode(logger,
StatusCode
);
43
httpContext.Response.StatusCode =
StatusCode
;
Microsoft.AspNetCore.Http.Results.Tests (3)
ConflictResultTests.cs (1)
26
Assert.Equal(StatusCodes.Status409Conflict, conflictObjectResult.
StatusCode
);
ResultsTests.cs (1)
516
Assert.Equal(StatusCodes.Status409Conflict, result.
StatusCode
);
TypedResultsTests.cs (1)
512
Assert.Equal(StatusCodes.Status409Conflict, result.
StatusCode
);