Example #1
0
 protected void OnAfterEventRemove(object eventId, Delegate eventDelegate)
 {
     if (eventDelegate != null && !DefaultEnabledEvents.Contains(eventId))
     {
         Backend.DisableEvent(eventId);
     }
 }
Example #2
0
 public void OnBeforeEventAdd(object eventId, Delegate eventDelegate)
 {
     if (eventDelegate == null && !DefaultEnabledEvents.Contains(eventId))
     {
         OnEnableEvent(eventId);
     }
 }
Example #3
0
 protected void OnBeforeEventAdd(object eventId, Delegate eventDelegate)
 {
     if (eventDelegate == null && !DefaultEnabledEvents.Contains(eventId))
     {
         Backend.EnableEvent(eventId);
     }
 }
Example #4
0
 public void OnAfterEventRemove(object eventId, Delegate eventDelegate)
 {
     if (eventDelegate == null && !DefaultEnabledEvents.Contains(eventId))
     {
         OnDisableEvent(eventId);
     }
 }