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)
277var result = TypedResults.PhysicalFile(path, contentType, fileDownloadName, lastModified, entityTag, enableRangeProcessing); 354Assert.Throws<ArgumentNullException>("path", () => TypedResults.PhysicalFile(default(string))); 360Assert.Throws<ArgumentException>("path", () => TypedResults.PhysicalFile(string.Empty));