SetCurrentDirectory() public static method

public static SetCurrentDirectory ( string path ) : void
path string
return void
コード例 #1
0
        public static void InitializeTests(TestContext init)
        {
            var dir     = Path.GetDirectoryName(typeof(PreprocessorTests).Assembly.Location);
            var projDir = Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(dir)));

            Directory.SetCurrentDirectory(projDir);
        }
コード例 #2
0
 public static void SetCurrentDirectory(string path) =>
 MSIOD.SetCurrentDirectory(path);
コード例 #3
0
 public static void SetCurrentDirectory([NotNull] DestructiveDirectoryPath directory)
 => D.SetCurrentDirectory(directory.FullName);
コード例 #4
0
 public static void SetCurrentDirectory(DirectoryPath directory)
 => D.SetCurrentDirectory(directory.FullName);