public void Cleanup() { try { _origin.Cleanup(); } catch (Exception e) when(e.IsFileAccessException()) { throw new AppUpdateException("Failed to cleanup updates directory", e); } }
public void Cleanup() { _updatesDirectory.Cleanup(); }