Class SequentialWorkExecutor
Executes SequentialWork.
Inherited Members
DNVGL.One.Compute.Core.FlowModel.WorkItem.Select<T>(Func<, >)
DNVGL.One.Compute.Core.FlowModel.WorkItem.Traverse(Action<, >, DNVGL.One.Compute.Core.FlowModel.WorkItem)
DNVGL.One.Compute.Core.FlowModel.WorkItem.FindItems(Func<, >, System.Boolean)
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public class SequentialWorkExecutor : ExecutableWorkBase, IFlowModelItem, IComputationalWork
Constructors
View SourceSequentialWorkExecutor(SequentialWork, IExecutableWorkBuilder)
Initializes a new instance of the SequentialWorkExecutor class.
Declaration
public SequentialWorkExecutor(SequentialWork sequentialWork, IExecutableWorkBuilder workBuilder)
Parameters
Type | Name | Description |
---|---|---|
SequentialWork | sequentialWork | The sequential work. |
IExecutableWorkBuilder | workBuilder | The work builder. |
Methods
View SourceCanExecute()
Determines whether this instance can execute.
Declaration
public override bool CanExecute()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
View SourceProcess(Object, IExecutionContext)
Processes the specified input.
Declaration
protected override object Process(object input, IExecutionContext executionContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | The input. |
IExecutionContext | executionContext | The execution context. |
Returns
Type | Description |
---|---|
System.Object | Processing result. May be null. |