Esempio n. 1
0
 public static LocalEventSource Subtract(LocalEventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.RemoveEventHandler(eventHandlerDelegate);
     eventSource.Delegates.Remove(eventHandlerDelegate);
     return eventSource;
 }
Esempio n. 2
0
 public static LocalEventSource Subtract(LocalEventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.RemoveEventHandler(eventHandlerDelegate);
     eventSource.Delegates.Remove(eventHandlerDelegate);
     return(eventSource);
 }
Esempio n. 3
0
 public static LocalEventSource Add(LocalEventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.AddEventHandler(eventHandlerDelegate);
     eventSource.Delegates.Add(eventHandlerDelegate);
     return eventSource;
 }
Esempio n. 4
0
 public static LocalEventSource Add(LocalEventSource eventSource, Delegate eventHandlerDelegate)
 {
     XTask.CurrentExecutingTask.AddEventHandler(eventHandlerDelegate);
     eventSource.Delegates.Add(eventHandlerDelegate);
     return(eventSource);
 }