public void Execute <T>(T action) { var commandInfo = new ExecuteActionCommandInfo { Action = action }; var result = _processingEngine.Execute(new[] { commandInfo }); CheckForErrors(result); }
private void ExectureRollbackOnError(string username) { var command = new ExecuteActionCommandInfo { Action = new TestAction.RollbackOnError { NewUsername = username } }; Exec(command); }
public void Execute <T>(T action) { if (action == null) { action = Activator.CreateInstance <T>(); } var commandInfo = new ExecuteActionCommandInfo { Action = action }; var result = _processingEngine.Execute(new[] { commandInfo }); CheckForErrors(result); }