示例#1
0
 public void OnNextIter2(object sender, NextIterationEventArgs args)
 {
     Console.ForegroundColor = ConsoleColor.Magenta;
     Console.WriteLine("Subscriber.OnNextIter2(): args.Iter = {0}", args.Iter);
 }
示例#2
0
文件: Program.cs 项目: bbattin/Demo
 // статический слушатель
 public static void OnNextIter(object sender, NextIterationEventArgs args)
 {
     Console.ForegroundColor = ConsoleColor.Green;
     Console.WriteLine("args.Iter = {0}", args.Iter);
 }