public static Context CreateToTest(string payloadCommand, PayloadGenerationCompleted action = null) => new Context(ExecutionMode.Test, payloadCommand, action);
private Context(ExecutionMode mode, string command, PayloadGenerationCompleted action) { Mode = mode; PayloadCommand = command; payloadGenerationCompletedAction = action; }