4 references to Bytes
Microsoft.AspNetCore.Http.Results (2)
Results.cs (1)
325=> TypedResults.Bytes(contents, contentType, fileDownloadName, enableRangeProcessing, lastModified, entityTag);
TypedResults.cs (1)
248/// This API is an alias for <see cref="Bytes(byte[], string, string?, bool, DateTimeOffset?, EntityTagHeaderValue?)"/>.</para>
Microsoft.AspNetCore.Http.Results.Tests (2)
TypedResultsTests.cs (2)
2480 => TypedResults.Bytes(contents, contentType, fileDownloadName, enableRangeProcessing, lastModified, entityTag), 318Assert.Throws<ArgumentNullException>("contents", () => TypedResults.Bytes(null));