示例#1
0
 void ScheduleTimer(TimerTemplate template)
 {
     timers.Add(NSTimer.CreateRepeatingScheduledTimer(template.TimeSpan, new Action <NSTimer>((NSTimer arg) => template.Action())));
 }
 void ScheduleTimer(TimerTemplate template)
 {
     timers.Add(NSTimer.CreateRepeatingScheduledTimer(template.TimeSpan, new Action<NSTimer>((NSTimer arg) => template.Action())));
 }
 void ScheduleTimer(TimerTemplate template)
 {
     timers.Add(NSTimer.CreateRepeatingScheduledTimer(template.TimeSpan, new NSAction(template.Action)));
 }