Пример #1
0
 public static TestAction Action(ConsoleTestAction a, GenerateServiceExecutableArguments az = null)
 {
     Func<string, string[]> nop = x => new string[0];
       return new TestAction
        {
          Program = Files.ConsoleTestProgram,
          ActionName = a.ToString(),
          Arguments = az == null ? nop : x => az(x)
        };
 }
Пример #2
0
 public static TestAction Action(ConsoleTestAction a, params string[] argz)
 {
     return Action(a, _ => argz);
 }