public FakeFileSystem Build() { if (includeDriveC) { IncludingDirectory("C:"); } copyWaitIndicator.Reset(); return(new FakeFileSystem(root, copyWaitIndicator)); }
public FakeFileSystem Build() { if (includeDriveC && !container.ContainsVolume("C:")) { IncludingVolume("C:", DefaultVolumeInfo); } string effectiveTempDirectory = CreateTempDirectory(); copyWaitIndicator.Reset(); return(new FakeFileSystem(container, effectiveTempDirectory, copyWaitIndicator)); }