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)
296var result = TypedResults.VirtualFile(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing); 366Assert.Throws<ArgumentNullException>("path", () => TypedResults.VirtualFile(default(string))); 372Assert.Throws<ArgumentException>("path", () => TypedResults.VirtualFile(string.Empty));