示例#1
0
 public override void FetchNewNumber(object sender, NewNumberEventArgs eventArgs)
 {
     if (!eventArgs.Number.IsEven())
     {
         Score++;
     }
 }
示例#2
0
 public override void FetchNewNumber(object sender, NewNumberEventArgs e)
 {
     if (e.CurentNumber.IsEven())
     {
         Score++;
     }
 }
示例#3
0
 public abstract void FetchNewNumber(object sender, NewNumberEventArgs eventArgs);
示例#4
0
 public override void FetchNewNumber(Object sender, NewNumberEventArgs e)
 {
     if (!(e.Number.IsEven())) Score++;
 }