ClrPlus.Core.Tasks.EventSource.operator C# (CSharp) Méthode

operator() public static méthode

Adds an event handler delegate to the current tasktask
public static operator ( ) : EventSource
Résultat EventSource
        public static EventSource operator +(EventSource eventSource, Delegate eventHandlerDelegate)
        {
            XTask.CurrentExecutingTask.AddEventHandler(eventHandlerDelegate);
            return eventSource;
        }