<PackageReference Include="Testably.Abstractions.FileSystem.Interface" Version="11.0.0-pre.2" />

System.IO.Abstractions.IFileStreamFactory

A factory for the creation of wrappers for FileStream in a IFileSystem.
FileSystemStream New(SafeFileHandle handle, FileAccess access)

FileSystemStream New(SafeFileHandle handle, FileAccess access, int bufferSize)

FileSystemStream New(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync)

FileSystemStream New(string path, FileMode mode)

FileSystemStream New(string path, FileMode mode, FileAccess access)

FileSystemStream New(string path, FileMode mode, FileAccess access, FileShare share)

FileSystemStream New(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)

FileSystemStream New(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)

FileSystemStream New(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)

FileSystemStream New(string path, FileStreamOptions options)

Wraps the fileStream to the testable FileSystemStream.