4 references to PhysicalFile
Microsoft.AspNetCore.Http.Results (1)
Results.cs (1)
481
? TypedResults.
PhysicalFile
(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing)
Microsoft.AspNetCore.Http.Results.Tests (3)
TypedResultsTests.cs (3)
277
var result = TypedResults.
PhysicalFile
(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing);
354
Assert.Throws<ArgumentNullException>("path", () => TypedResults.
PhysicalFile
(default(string)));
360
Assert.Throws<ArgumentException>("path", () => TypedResults.
PhysicalFile
(string.Empty));