Show / Hide Table of Contents

Class SequentialWorkExecutor

Executes SequentialWork.

Inheritance
System.Object
FlowModelObject
WorkItem
ExecutableWorkBase
SequentialWorkExecutor
Implements
IFlowModelItem
IComputationalWork
Inherited Members
ExecutableWorkBase.Source
ExecutableWorkBase.GetDescendants()
ExecutableWorkBase.Execute(Object, IExecutionContext)
ExecutableWorkBase.Complete(IExecutionContext, Object, String)
ExecutableWorkBase.Fail(IExecutionContext, String, Exception)
ExecutableWorkBase.CreateRootExecutionContext()
WorkItem.Tag
WorkItem.JobId
WorkItem.ParentId
WorkItem.Id
WorkItem.GetParent()
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)
WorkItem.OnInitialize(Job)
WorkItem.ToString()
FlowModelObject.BatchNumber
FlowModelObject.Properties
FlowModelObject.PropertiesContent
FlowModelObject.Item[String]
FlowModelObject.UpdateProperties(String)
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public class SequentialWorkExecutor : ExecutableWorkBase, IFlowModelItem, IComputationalWork

Constructors

View Source

SequentialWorkExecutor(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 Source

CanExecute()

Determines whether this instance can execute.

Declaration
public override bool CanExecute()
Returns
Type Description
System.Boolean

true if this instance can execute; otherwise, false.

Overrides
ExecutableWorkBase.CanExecute()
View Source

Process(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.

Overrides
ExecutableWorkBase.Process(Object, IExecutionContext)

Implements

IFlowModelItem
IComputationalWork

Extension Methods

WorkItemExtensions.BuildExecutableWork(WorkItem)

See Also

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