public static ThreadedActionInvoker ToThreadedActionInvoker(this ThreadedAction handler) { var x = new ThreadedActionInvoker { Handler = handler }; x.Thread = new System.Threading.Thread(x.DelayThenInvoke); return x; }
public static ThreadedActionInvoker ToThreadedActionInvoker(this ThreadedAction handler) { var x = new ThreadedActionInvoker { Handler = handler }; x.Thread = new System.Threading.Thread(x.DelayThenInvoke); return(x); }