public static bool Succeeded(SendOrPostCallback codeBlock) { ExceptionCatcher exceptionCatcher = new ExceptionCatcher(); bool result = exceptionCatcher.Succeeded(codeBlock); return(result); }
public static void Catch(SendOrPostCallback codeBlock) { ExceptionCatcher exceptionCatcher = new ExceptionCatcher(); exceptionCatcher.Catch(codeBlock); }