示例#1
0
        public void Execute(TestJobArg arg, PerformContext context = null)
        {
            Console.WriteLine(arg.ToString());

            context.LogInformation($" info - {arg}");
            context.WriteLine($" context - {arg} ");
        }
示例#2
0
        public void Execute(TestJobArg arg, PerformContext context)
        {
            Console.WriteLine(arg.ToString());

            context.WriteLine($" context - {arg} ");
        }