Skip to content

Commit bf6d21c

Browse files
kirbatiousfgreinacher
authored andcommitted
Pass IFileSystem into FileWrapper instead of FileSystem to allow replacement file systems to be used (#432)
1 parent e579d29 commit bf6d21c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

System.IO.Abstractions/FileWrapper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
using System.Collections.Generic;
22
using System.Security.AccessControl;
33
using System.Text;
4-
using System.IO;
54

65
namespace System.IO.Abstractions
76
{
87
[Serializable]
98
public class FileWrapper : FileBase
109
{
11-
public FileWrapper(FileSystem fileSystem) : base(fileSystem)
10+
public FileWrapper(IFileSystem fileSystem) : base(fileSystem)
1211
{
1312
}
1413

0 commit comments

Comments
 (0)