Exemple #1
0
 public static Task Start(ProcessTaskStartInfo startInfo, Func <Process, Task> setup) =>
 Start(startInfo.ToProcessStartInfo(), setup, Id);
Exemple #2
0
 public static Task <ProcessTaskResult> Start(ProcessTaskStartInfo startInfo, Func <StreamWriter, Task> writeInput) =>
 Start(startInfo.ToProcessStartInfo(), x => DefaultProcessTaskState.Create(x, writeInput), DefaultProcessTaskState.GetResult);
Exemple #3
0
 public static Task <TResult> Start <TState, TResult>(ProcessTaskStartInfo startInfo, Func <Process, TState> setup, Func <TState, Task <TResult> > getResult) =>
 Start(startInfo.ToProcessStartInfo(), setup, getResult);
Exemple #4
0
 public static Task <ProcessTaskResult> Start(ProcessTaskStartInfo startInfo) =>
 Start(startInfo.ToProcessStartInfo(), DefaultProcessTaskState.Create, DefaultProcessTaskState.GetResult);