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