Exemple #1
0
 /// <summary>
 /// Executes an arbitrary number of commands
 /// </summary>
 /// <param name="CPS">The command system</param>
 /// <param name="Commands">The command specifications to execute</param>
 /// <returns></returns>
 public static IEnumerable <IOption> ExecuteCommands(this ICommandPatternSystem CPS, params ICommandSpec[] Commands)
 => map(Commands, spec => CPS.ExecuteCommand(spec));