public void ApplicaitonExitCleanupTest() { //TODO: Finsih the "ApplicationExitCleanupTest" Test as it's not finished. try { (new ImageManagement.Tests.ImageManagerTests()).OutputByteArrayImageToTempDirectoryForReviewTest(); CodeAccessPermission.RevertAssert(); } catch (Exception e) { } FileSystemManager.ApplicaitonExitCleanup(); }
private static void ApplicationOnApplicationExit(object sender, EventArgs eventArgs) { FileSystemManager.ApplicaitonExitCleanup(); }