示例#1
0
文件: FakeFile.cs 项目: stgwilli/cake
 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(ICakeEnvironment environment)
 {
     _tree = new FakeFileSystemTree(environment);
 }