Dev2.Tests.DeleteHelperTest.Cleanup C# (CSharp) Method

Cleanup() private static method

private static Cleanup ( string dir ) : void
dir string
return void
        private static void Cleanup(string dir)
        {
            try
            {
                Directory.Delete(dir, true);
            }
            // ReSharper disable EmptyGeneralCatchClause
            catch { }
            // ReSharper restore EmptyGeneralCatchClause
        }