public MockFileInfo( FileSystemOperationRecorder recorder, DirectoryInfoBase parentDirectory, string fullName, string name) { Recorder = recorder; FullName = fullName; Name = name; }
public FileSystemGlobbingTestContext(string basePath, Matcher matcher) { _basePath = basePath; _recorder = new FileSystemOperationRecorder(); _patternMatching = matcher; _directoryInfo = new MockDirectoryInfo( recorder: _recorder, parentDirectory: null, fullName: _basePath, name: ".", paths: new string[0]); }
public MockDirectoryInfo( FileSystemOperationRecorder recorder, DirectoryInfoBase parentDirectory, string fullName, string name, string[] paths) { ParentDirectory = parentDirectory; Recorder = recorder; FullName = fullName; Name = name; Paths = paths; }