2 writes to _fileInfo
Microsoft.AspNetCore.StaticFiles (2)
StaticFileContext.cs (2)
59
_fileInfo
= default!;
117
_fileInfo
= _fileProvider.GetFileInfo(SubPath);
10 references to _fileInfo
Microsoft.AspNetCore.StaticFiles (10)
StaticFileContext.cs (10)
113
public string PhysicalPath =>
_fileInfo
.PhysicalPath ?? string.Empty;
118
if (
_fileInfo
.Exists)
120
_length =
_fileInfo
.Length;
122
DateTimeOffset last =
_fileInfo
.LastModified;
129
return
_fileInfo
.Exists;
274
var context = new StaticFileResponseContext(_context,
_fileInfo
);
356
await _context.Response.SendFileAsync(
_fileInfo
, 0, _length, _context.RequestAborted);
387
var logPath = !string.IsNullOrEmpty(
_fileInfo
.PhysicalPath) ?
_fileInfo
.PhysicalPath : SubPath;
389
await _context.Response.SendFileAsync(
_fileInfo
, start, length, _context.RequestAborted);