14 references to FileStreamResult
Microsoft.AspNetCore.Mvc.Core (6)
ControllerBase.cs (6)
1265
=> new
FileStreamResult
(fileStream, contentType) { FileDownloadName = fileDownloadName };
1284
=> new
FileStreamResult
(fileStream, contentType)
1307
return new
FileStreamResult
(fileStream, contentType)
1332
return new
FileStreamResult
(fileStream, contentType)
1358
return new
FileStreamResult
(fileStream, contentType)
1385
return new
FileStreamResult
(fileStream, contentType)
Microsoft.AspNetCore.Mvc.Core.Test (6)
ActionResultOfTTest.cs (1)
15
var input = new
FileStreamResult
(Stream.Null, "application/json");
FileStreamResultTest.cs (4)
30
var fileStreamResult = new
FileStreamResult
(stream, contentType)
47
var result = new
FileStreamResult
(stream, "text/plain");
62
var result = new
FileStreamResult
(stream, contentType);
80
var result = new
FileStreamResult
(stream, contentType)
Infrastructure\FileStreamResultExecutorTest.cs (1)
21
var result = new
FileStreamResult
(stream, "text/plain");
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
356
=> new
FileStreamResult
(fileStream, contentType) { FileDownloadName = fileDownloadName };
PageModel.cs (1)
688
=> new
FileStreamResult
(fileStream, contentType) { FileDownloadName = fileDownloadName };