private static bool Remove(this TimerComponent self, long id) { if (id == 0) { return(false); } TimerAction timerAction = self.GetChild <TimerAction>(id); if (timerAction == null) { return(false); } timerAction.Dispose(); return(true); }
private bool Remove(long id) { if (id == 0) { return(false); } TimerAction timerAction = this.GetChild <TimerAction>(id); if (timerAction == null) { return(false); } timerAction.Dispose(); return(true); }