Show / Hide Table of Contents

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 Source

AddBuilder(IExecutableWorkBuilder)

Adds the builder to the builder chain.

Declaration
void AddBuilder(IExecutableWorkBuilder builder)
Parameters
Type Name Description
IExecutableWorkBuilder builder

The builder.

View Source

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.

View Source

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

true if this builder can build executable work from the specified work item; otherwise, false.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.