示例#1
0
 public void StopClock()
 {
     Enabled = false;
     StopEvents.ForEach(e => EventHelper.Instance.RunEvent(e));
     StopEvents.RemoveAll(s => s != null);
     _tickDisposable.Dispose();
 }
示例#2
0
 public void StopClock()
 {
     Enabled = false;
     StopEvents.ForEach(e =>
     {
         EventHelper.Instance.RunEvent(e);
     });
     StopEvents.RemoveAll(s => s != null);
 }