Show / Hide Table of Contents

Interface IComputationalWorkExecutionService

Defines a service to execute IComputationalWork.

Namespace: DNVGL.One.Compute.WorkExecution
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IComputationalWorkExecutionService

Methods

View Source

SubmitWork(WorkItem, object, IExecutionContext)

Submits the work.

Declaration
IWorkExecutionMonitor SubmitWork(WorkItem work, object input, IExecutionContext rootExecutionContext = null)
Parameters
Type Name Description
WorkItem work

The work.

object input

The input.

IExecutionContext rootExecutionContext

The root execution context.

Returns
Type Description
IWorkExecutionMonitor

An IWorkExecutionMonitor for monitoring the execution of the work.

Remarks

The root execution context can be used to assign variables that will be accessible by all work items during execution.

  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.