1 instantiation of VirtualFileHttpResult
Microsoft.AspNetCore.Http.Results (1)
TypedResults.cs (1)
545
return
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>
535
public 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)
1755
(() => Results.File("path", null, null, null, null, false), typeof(
VirtualFileHttpResult
)),
TypedResultsTests.cs (1)
296
var
result = TypedResults.VirtualFile(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing);
VirtualFileResultTests.cs (1)
13
var
result = new VirtualFileHttpResult(path, contentType)