Exemplo n.º 1
0
        public TaskExecutionResult executeTask(SimpleTask simpleTask, params TaskParam[] taskParams)
        {
            simpleTask.startTask();
            TaskExecutionResult taskResult = simpleTask.executeTask(new TaskParams(taskParams));
            simpleTask.endTask();

            return taskResult;
        }
Exemplo n.º 2
0
        public TaskExecutionResult executeTask(SimpleTask simpleTask, TaskParams taskParams)
        {
            simpleTask.startTask();
            TaskExecutionResult taskResult = simpleTask.executeTask(taskParams);
            simpleTask.endTask();

            return taskResult;
        }