4 references to VirtualFile
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
482
: TypedResults.
VirtualFile
(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing);
Microsoft.AspNetCore.Http.Results.Tests (3)
TypedResultsTests.cs (3)
296
var result = TypedResults.
VirtualFile
(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing);
366
Assert.Throws<ArgumentNullException>("path", () => TypedResults.
VirtualFile
(default(string)));
372
Assert.Throws<ArgumentException>("path", () => TypedResults.
VirtualFile
(string.Empty));