예제 #1
0
 internal FakeFile(FakeFileSystemTree tree, FilePath path)
 {
     _tree  = tree;
     Path   = path;
     Exists = false;
     Hidden = false;
 }
예제 #2
0
 internal FakeDirectory(FakeFileSystemTree tree, DirectoryPath path)
 {
     _tree    = tree;
     _path    = path;
     _content = new FakeDirectoryContent(this, tree.Comparer);
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FakeFileSystem"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public FakeFileSystem(IFileSystemEnvironment environment)
 {
     _tree = new FakeFileSystemTree(environment);
 }