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