internal FakeFile(FakeFileSystemTree tree, FilePath path) { _tree = tree; Path = path; Exists = false; Hidden = false; }
internal FakeDirectory(FakeFileSystemTree tree, DirectoryPath path) { _tree = tree; _path = path; _content = new FakeDirectoryContent(this, tree.Comparer); }
/// <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); }