Microsoft.Extensions.DependencyModel.FileWrapper sealed class FileWrapper : IFile Documentation Code public FileWrapper() public void CreateEmptyFile(string path) public bool Exists(string path) public Stream OpenFile(string path, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, int bufferSize, FileOptions fileOptions) public Stream OpenRead(string path) public string ReadAllText(string path)