void TimerDefinitionsRemovedCustomTimer(object sender, CustomTimerRemovedEventArgs e) { foreach (var timergroup in timerGroups) { timergroup.StopAndRemoveMatchingTimerDefinition(e.DefinitionId); } }
protected virtual void OnCustomTimerRemoved(CustomTimerRemovedEventArgs e) { var handler = CustomTimerRemoved; if (handler != null) { handler(this, e); } }