ClrPlus.Core.Tasks.EventSource.operator C# (CSharp) Method

operator() public static method

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