コード例 #1
0
        public FakeFileSystem Build()
        {
            if (includeDriveC)
            {
                IncludingDirectory("C:");
            }

            copyWaitIndicator.Reset();
            return(new FakeFileSystem(root, copyWaitIndicator));
        }
コード例 #2
0
        public FakeFileSystem Build()
        {
            if (includeDriveC && !container.ContainsVolume("C:"))
            {
                IncludingVolume("C:", DefaultVolumeInfo);
            }

            string effectiveTempDirectory = CreateTempDirectory();

            copyWaitIndicator.Reset();
            return(new FakeFileSystem(container, effectiveTempDirectory, copyWaitIndicator));
        }