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)
374Assert.Throws<ArgumentNullException>("streamWriterCallback", () => TypedResults.Stream(default(Func<Stream, Task>)));
TypedResultsTests.cs (2)
348Assert.Throws<ArgumentNullException>("streamWriterCallback", () => TypedResults.Stream(default(Func<Stream, Task>))); 387_ => (IResult)TypedResults.Stream((s) => Task.CompletedTask, contentType, fileDownloadName, lastModified, entityTag)