60 references to HttpResultsHelper
Microsoft.AspNetCore.Http.Results (60)
Accepted.cs (1)
72
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
AcceptedAtRoute.cs (1)
99
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
AcceptedAtRouteOfT.cs (3)
63
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
113
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
116
return
HttpResultsHelper
.WriteResultAsJsonAsync(httpContext, logger, Value);
AcceptedOfT.cs (4)
29
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
41
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
88
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
91
return
HttpResultsHelper
.WriteResultAsJsonAsync(
BadRequest.cs (1)
42
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
BadRequestOfT.cs (3)
27
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
53
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
56
return
HttpResultsHelper
.WriteResultAsJsonAsync(
Conflict.cs (1)
42
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
ConflictOfT.cs (3)
27
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
53
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
56
return
HttpResultsHelper
.WriteResultAsJsonAsync(
ContentHttpResult.cs (2)
68
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, statusCode);
72
return
HttpResultsHelper
.WriteResultAsContentAsync(
Created.cs (1)
72
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
CreatedAtRoute.cs (1)
99
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
CreatedAtRouteOfT.cs (3)
63
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
113
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
116
return
HttpResultsHelper
.WriteResultAsJsonAsync(
CreatedOfT.cs (4)
29
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
41
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
87
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
90
return
HttpResultsHelper
.WriteResultAsJsonAsync(
FileContentHttpResult.cs (1)
115
var (range, rangeLength, completed) =
HttpResultsHelper
.WriteResultAsFileCore(
FileStreamHttpResult.cs (1)
123
var (range, rangeLength, completed) =
HttpResultsHelper
.WriteResultAsFileCore(
InternalServerError.cs (1)
42
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
InternalServerErrorOfT.cs (3)
27
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
53
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
56
return
HttpResultsHelper
.WriteResultAsJsonAsync(
JsonHttpResultOfT.cs (3)
99
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, statusCode);
110
HttpResultsHelper
.Log.WritingResultAsJson(logger, JsonTypeInfo.Type.Name);
127
return
HttpResultsHelper
.WriteResultAsJsonAsync(
NoContent.cs (1)
41
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
NotFound.cs (1)
41
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
NotFoundOfT.cs (3)
26
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
52
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
55
return
HttpResultsHelper
.WriteResultAsJsonAsync(
Ok.cs (1)
41
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
OkOfT.cs (3)
26
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
52
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
55
return
HttpResultsHelper
.WriteResultAsJsonAsync(
PhysicalFileHttpResult.cs (1)
125
var (range, rangeLength, completed) =
HttpResultsHelper
.WriteResultAsFileCore(
ProblemHttpResult.cs (2)
59
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, code);
65
await
HttpResultsHelper
.WriteResultAsJsonAsync(
PushStreamHttpResult.cs (1)
109
var (range, rangeLength, completed) =
HttpResultsHelper
.WriteResultAsFileCore(
StatusCodeHttpResult.cs (1)
44
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
UnauthorizedHttpResult.cs (1)
37
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
UnprocessableEntity.cs (1)
42
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
UnprocessableEntityOfT.cs (3)
27
HttpResultsHelper
.ApplyProblemDetailsDefaultsIfNeeded(Value, StatusCode);
53
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
56
return
HttpResultsHelper
.WriteResultAsJsonAsync(
Utf8ContentHttpResult.cs (1)
61
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, statusCode);
ValidationProblem.cs (2)
60
HttpResultsHelper
.Log.WritingResultAsStatusCode(logger, StatusCode);
65
await
HttpResultsHelper
.WriteResultAsJsonAsync(
VirtualFileHttpResult.cs (1)
120
var (range, rangeLength, completed) =
HttpResultsHelper
.WriteResultAsFileCore(