Dev2.Core.Tests.Environments.EnviromentRepositoryTest.RestoreFile C# (CSharp) Method

RestoreFile() static private method

static private RestoreFile ( string path, string bakPath ) : void
path string
bakPath string
return void
        static void RestoreFile(string path, string bakPath)
        {
            if (File.Exists(path))
            {
                File.Delete(path);
            }
            if (File.Exists(bakPath))
            {
                File.Move(bakPath, path);
            }
        }
EnviromentRepositoryTest