Exemplo n.º 1
0
 public static CTasks.Exec.Executable <R> ToGExec <T, R>(this CTasks.Task.Executable <T> exec, T defObj = default(T))
 => (obj) => exec(defObj);
Exemplo n.º 2
0
 public static CTasks.Exec.Executable <T> ToGExec <T>(this CTasks.Task.Executable <T> exec)
 => (obj) => exec(obj);
Exemplo n.º 3
0
 public static CTasks.Exec.Executable ToExec <T>(this CTasks.Task.Executable <T> exec, T defObj = default(T))
 => () => exec(defObj);
Exemplo n.º 4
0
 /* -------- To Exec-Executable (From Executable) -------- */
 public static CTasks.Exec.Executable ToExec(this CTasks.Task.Executable exec)
 => () => exec();
Exemplo n.º 5
0
 public static CTasks.Exec.Handleable ToExecHandle <T>(this CTasks.Task.Executable <T> exec, T defObj = default(T))
 => (state, exceptions) => exec(defObj);
Exemplo n.º 6
0
 /* -------- To Exec-Handleable (From Executable) -------- */
 public static CTasks.Exec.Handleable ToExecHandle(this CTasks.Task.Executable exec)
 => (state, exceptions) => exec();