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

            await logger.LogCheck(step);

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

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

            await logger.Exit(step);
        }
示例#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);
        }