Interface IExecutableWorkBuilder
Builds IComputationalWork from a WorkItem.
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IExecutableWorkBuilder
Methods
View SourceAddBuilder(IExecutableWorkBuilder)
Adds the builder to the builder chain.
Declaration
void AddBuilder(IExecutableWorkBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IExecutableWorkBuilder | builder | The builder. |
BuildExecutableWork(WorkItem)
Builds the executable work from the given work item.
Declaration
IComputationalWork BuildExecutableWork(WorkItem workItem)
Parameters
Type | Name | Description |
---|---|---|
WorkItem | workItem | The work item. |
Returns
Type | Description |
---|---|
IComputationalWork | The executable work. |
CanBuild(WorkItem)
Determines whether this build is able to build executable work from the given work item.
Declaration
bool CanBuild(WorkItem workItem)
Parameters
Type | Name | Description |
---|---|---|
WorkItem | workItem | The work item. |
Returns
Type | Description |
---|---|
System.Boolean |
|