public override IEnumerable Run()
 {
     Console.WriteLine("RunWaitRun A");
     var s = new Sleep { Time = 3 };
     yield return s;
     Console.WriteLine("RunWaitRun B, s: " + s.Result);
 }
Example #2
0
        public override IEnumerable Run()
        {
            Console.WriteLine("RunWaitRun A");
            var s = new Sleep {
                Time = 3
            };

            yield return(s);

            Console.WriteLine("RunWaitRun B, s: " + s.Result);
        }