Implemented interface member:
property
FileDownloadName
Microsoft.AspNetCore.Http.IFileHttpResult.FileDownloadName
6 writes to FileDownloadName
Microsoft.AspNetCore.Http.Results (4)
FileStreamHttpResult.cs (1)
71FileDownloadName = fileDownloadName;
TypedResults.cs (3)
377FileDownloadName = fileDownloadName, 418FileDownloadName = fileDownloadName, 456FileDownloadName = fileDownloadName,
Microsoft.AspNetCore.Http.Results.Tests (2)
HttpFileStreamResultTests.cs (2)
100var result = Assert.IsAssignableFrom<IFileHttpResult>(new FileStreamHttpResult(new MemoryStream(), contentType) { FileDownloadName = downloadName }); 113var result = Assert.IsAssignableFrom<IContentTypeHttpResult>(new FileStreamHttpResult(new MemoryStream(), contentType) { FileDownloadName = downloadName });
3 references to FileDownloadName
Microsoft.AspNetCore.Http.Results (1)
FileStreamHttpResult.cs (1)
126FileDownloadName,
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (1)
313Assert.Equal(fileDownloadName, fileStreamResult.FileDownloadName);
TypedResultsTests.cs (1)
397Assert.Equal(fileDownloadName, fileStreamResult.FileDownloadName);