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)
113public string PhysicalPath => _fileInfo.PhysicalPath ?? string.Empty; 118if (_fileInfo.Exists) 120_length = _fileInfo.Length; 122DateTimeOffset last = _fileInfo.LastModified; 129return _fileInfo.Exists; 274var context = new StaticFileResponseContext(_context, _fileInfo); 356await _context.Response.SendFileAsync(_fileInfo, 0, _length, _context.RequestAborted); 387var logPath = !string.IsNullOrEmpty(_fileInfo.PhysicalPath) ? _fileInfo.PhysicalPath : SubPath; 389await _context.Response.SendFileAsync(_fileInfo, start, length, _context.RequestAborted);