Ejemplo n.º 1
0
 internal CoroutineProcIter(CoroutineBehavior owner)
 {
     this.owner = owner;
     step       = 0;
     try
     {
         owner.Start();
     }
     catch (Exception ex)
     {
         step = -1;
         System.Console.WriteLine("Exception: " + ex.Message);
         Complete();
     }
 }
Ejemplo n.º 2
0
 public object Run()
 {
     return(CoroutineBehavior.Run(this.start));
 }