Exemple #1
0
        public async Task Run(IStep step)
        {
            await logger.Enter(step);

            await logger.LogCheck(step);

            await logger.Exit(step);
        }
Exemple #2
0
        public async Task Run(IStep step)
        {
            await logger.Enter(step);

            try { await logger.LogCheck(step); }
            catch (Exception) {}

            await logger.Exit(step);
        }
Exemple #3
0
        public async Task Run(IStep step)
        {
            await logger.Enter(step);

            try {
                await logger.LogCheck(step);

                return;
            }
            catch (Exception) {}

            try { await logger.LogRun(step); }
            catch (Exception e4) { throw new StepException(step, e4); }

            // Check after run
            try { await logger.LogCheck(step); }
            catch (Exception e4) { throw new StepException(step, e4); }

            await logger.Exit(step);
        }