ClrPlus.Core.Tasks.EventSource.operator C# (CSharp) 메소드

operator() 공개 정적인 메소드

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