4 references to Stream
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
457
=> TypedResults.
Stream
(streamWriterCallback, contentType, fileDownloadName, lastModified, entityTag);
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (1)
374
Assert.Throws<ArgumentNullException>("streamWriterCallback", () => TypedResults.
Stream
(default(Func<Stream, Task>)));
TypedResultsTests.cs (2)
348
Assert.Throws<ArgumentNullException>("streamWriterCallback", () => TypedResults.
Stream
(default(Func<Stream, Task>)));
387
_ => (IResult)TypedResults.
Stream
((s) => Task.CompletedTask, contentType, fileDownloadName, lastModified, entityTag)