1 write to ResponseContent
Microsoft.AspNetCore.Http.Results (1)
Utf8ContentHttpResult.cs (1)
24
ResponseContent
= utf8Content.ToArray();
5 references to ResponseContent
Microsoft.AspNetCore.Http.Results (2)
Utf8ContentHttpResult.cs (2)
67
httpContext.Response.ContentLength =
ResponseContent
.Length;
68
return httpContext.Response.Body.WriteAsync(
ResponseContent
).AsTask();
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (2)
1618
Assert.Equal(content, result.
ResponseContent
.ToArray());
1635
Assert.Equal(content, result.
ResponseContent
.ToArray());
Utf8ContentResultTests.cs (1)
25
Assert.Equal(data, result.
ResponseContent
.ToArray());