System.IO.FileCleanupTestBase.Dispose C# (CSharp) Метод

Dispose() защищенный Метод

Delete the associated test directory.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void
        protected virtual void Dispose(bool disposing)
        {
            // No managed resources to clean up, so disposing is ignored.

            try { Directory.Delete(TestDirectory, recursive: true); }
            catch { } // avoid exceptions escaping Dispose
        }

Same methods

FileCleanupTestBase::Dispose ( ) : void