Interface IExecutableWork<TIn, TOut>
Represents work that can be executed directly.
Inherited Members
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IExecutableWork<in TIn, out TOut> : IComputationalWork
Type Parameters
| Name | Description |
|---|---|
| TIn | The type of the in. |
| TOut | The type of the out. |
Methods
View SourceExecute(TIn, IExecutionContext)
Executes with the specified input.
Declaration
TOut Execute(TIn input, IExecutionContext executionContext = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TIn | input | The input. |
| IExecutionContext | executionContext | The execution context. |
Returns
| Type | Description |
|---|---|
| TOut | Result from execution. |