示例#1
0
 void TimerDefinitionsRemovedCustomTimer(object sender, CustomTimerRemovedEventArgs e)
 {
     foreach (var timergroup in timerGroups)
     {
         timergroup.StopAndRemoveMatchingTimerDefinition(e.DefinitionId);
     }
 }
示例#2
0
        protected virtual void OnCustomTimerRemoved(CustomTimerRemovedEventArgs e)
        {
            var handler = CustomTimerRemoved;

            if (handler != null)
            {
                handler(this, e);
            }
        }