System.IO.Abstractions.IFileInfoFactory public interface IFileInfoFactory : IFileSystemEntity A factory for the creation of wrappers for FileInfo in a IFileSystem. Documentation Code IFileInfo New(string fileName) Initializes a new instance of a wrapper for FileInfo which implements IFileInfo. IFileInfo Wrap(FileInfo fileInfo) Wraps the fileInfo in a wrapper for FileInfo which implements IFileInfo.