1 write to FileName
Microsoft.AspNetCore.Mvc.Core (1)
VirtualFileResult.cs (1)
41
FileName
= fileName ?? throw new ArgumentNullException(nameof(fileName));
14 references to FileName
Microsoft.AspNetCore.Mvc.Core (4)
Infrastructure\VirtualFileResultExecutor.cs (4)
43
Resources.FormatFileResult_InvalidPath(result.
FileName
), result.
FileName
);
46
Log.ExecutingFileResult(Logger, result, result.
FileName
);
113
var normalizedPath = result.
FileName
;
Microsoft.AspNetCore.Mvc.Core.Test (6)
ControllerBaseTest.cs (4)
1780
Assert.Equal(path, result.
FileName
);
1804
Assert.Equal(path, result.
FileName
);
1824
Assert.Equal(path, result.
FileName
);
1848
Assert.Equal(path, result.
FileName
);
VirtualFileResultTest.cs (2)
29
Assert.Equal(path, result.
FileName
);
44
Assert.Equal(path, result.
FileName
);
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
PageModelTest.cs (2)
1417
Assert.Equal(path, result.
FileName
);
1434
Assert.Equal(path, result.
FileName
);
PageTest.cs (2)
1407
Assert.Equal(path, result.
FileName
);
1424
Assert.Equal(path, result.
FileName
);