Interface IWorkExecutor<T>
Executes a work item with a given IExecutionContext and input.
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IWorkExecutor<in T> where T : WorkItem
Type Parameters
Name | Description |
---|---|
T | Work item type. |
Methods
View SourceExecute(T, IExecutionContext, object)
Executes the specified work item with given executionContext
and input
.
Declaration
object Execute(T workItem, IExecutionContext executionContext, object input)
Parameters
Type | Name | Description |
---|---|---|
T | workItem | The work item. |
IExecutionContext | executionContext | The execution context. |
object | input | The input. |
Returns
Type | Description |
---|---|
object | Execution result. |