9 references to StatusCode
Microsoft.AspNetCore.Http.Results (4)
ConflictOfT.cs (4)
27
HttpResultsHelper.ApplyProblemDetailsDefaultsIfNeeded(Value,
StatusCode
);
42
int? IStatusCodeHttpResult.StatusCode =>
StatusCode
;
53
HttpResultsHelper.Log.WritingResultAsStatusCode(logger,
StatusCode
);
54
httpContext.Response.StatusCode =
StatusCode
;
Microsoft.AspNetCore.Http.Results.Tests (5)
ConflictOfTResultTests.cs (2)
27
Assert.Equal(StatusCodes.Status409Conflict, conflictObjectResult.
StatusCode
);
39
Assert.Equal(StatusCodes.Status409Conflict, conflictObjectResult.
StatusCode
);
ResultsTests.cs (2)
491
Assert.Equal(StatusCodes.Status409Conflict, result.
StatusCode
);
505
Assert.Equal(StatusCodes.Status409Conflict, result.
StatusCode
);
TypedResultsTests.cs (1)
501
Assert.Equal(StatusCodes.Status409Conflict, result.
StatusCode
);