Esempio n. 1
0
 public static CTasks.Exec.Executable <T> ToGExec <T>(this CTasks.Task.Handleable handle, int defState = 0, Exception[] defExceptions = null)
 => (obj) => handle(defState, defExceptions);
Esempio n. 2
0
 public static CTasks.Task.Executable <T> ToGTask <T>(this CTasks.Task.Handleable handle, int defState = 0, Exception[] defExceptions = null)
 => (obj) => {
     handle(defState, defExceptions);
     return(null);
 };
Esempio n. 3
0
 /* -------- To Exec-Executable (From Handleable) -------- */
 public static CTasks.Exec.Executable ToExec(this CTasks.Task.Handleable handle, int defState = 0, Exception[] defExceptions = null)
 => () => handle(defState, defExceptions);
Esempio n. 4
0
 /* -------- To Exec-Handleable (From Handleable) -------- */
 public static CTasks.Exec.Handleable ToExecHandle(this CTasks.Task.Handleable handle)
 => (state, exceptions) => handle(state, exceptions);