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