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. |
| System.Object | input | The input. |
Returns
| Type | Description |
|---|---|
| System.Object | Execution result. |