1 write to FileName
Microsoft.AspNetCore.Mvc.Core (1)
PhysicalFileResult.cs (1)
40
FileName
= fileName ?? throw new ArgumentNullException(nameof(fileName));
8 references to FileName
Microsoft.AspNetCore.Mvc.Core (8)
Infrastructure\PhysicalFileResultExecutor.cs (8)
31
var fileInfo = GetFileInfo(result.
FileName
);
35
Resources.FormatFileResult_InvalidPath(result.
FileName
), result.
FileName
);
38
Log.ExecutingFileResult(Logger, result, result.
FileName
);
79
if (!Path.IsPathRooted(result.
FileName
))
81
throw new NotSupportedException(Resources.FormatFileResult_PathNotRooted(result.
FileName
));
91
return response.SendFileAsync(result.
FileName
,
96
return response.SendFileAsync(result.
FileName
,