Пример #1
0
 public static EventSource Subtract(EventSource eventSource, Delegate eventHandlerDelegate) {
     XTask.CurrentExecutingTask.RemoveEventHandler(eventHandlerDelegate);
     return eventSource;
 }
Пример #2
0
 public static EventSource Subtract(EventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.RemoveEventHandler(eventHandlerDelegate);
     return(eventSource);
 }
Пример #3
0
 public static EventSource Add(EventSource eventSource, Delegate eventHandlerDelegate) {
     XTask.CurrentExecutingTask.AddEventHandler(eventHandlerDelegate);
     return eventSource;
 }
Пример #4
0
 public static EventSource Add(EventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.AddEventHandler(eventHandlerDelegate);
     return(eventSource);
 }