Exemplo n.º 1
0
        public static bool Succeeded(SendOrPostCallback codeBlock)
        {
            ExceptionCatcher exceptionCatcher = new ExceptionCatcher();
            bool             result           = exceptionCatcher.Succeeded(codeBlock);

            return(result);
        }
Exemplo n.º 2
0
        public static ExceptionCatcher Catch(SendOrPostCallback codeBlock)
        {
            ExceptionCatcher exceptionCatcher = new ExceptionCatcher();

            exceptionCatcher.Catch(codeBlock);
            return(exceptionCatcher);
        }