1 instantiation of VirtualFileHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
545return new(path, contentType)
8 references to VirtualFileHttpResult
Microsoft.AspNetCore.Http.Results (5)
TypedResults.cs (2)
534/// <returns>The created <see cref="VirtualFileHttpResult"/> for the response.</returns> 535public static VirtualFileHttpResult VirtualFile(
VirtualFileHttpResult.cs (3)
22/// Creates a new <see cref="VirtualFileHttpResult"/> instance with 33/// Creates a new <see cref="VirtualFileHttpResult"/> instance with 49/// Creates a new <see cref="VirtualFileHttpResult"/> instance with the provided values.
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (1)
1676(() => Results.File("path", null, null, null, null, false), typeof(VirtualFileHttpResult)),
TypedResultsTests.cs (1)
296var result = TypedResults.VirtualFile(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing);
VirtualFileResultTests.cs (1)
13var result = new VirtualFileHttpResult(path, contentType)