Show / Hide Table of Contents

Interface IExecutableWork<TIn, TOut>

Represents work that can be executed directly.

Inherited Members
IComputationalWork.Source
IComputationalWork.CanExecute()
IComputationalWork.Execute(object, IExecutionContext)
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public interface IExecutableWork<in TIn, out TOut> : IComputationalWork
Type Parameters
Name Description
TIn

The type of the in.

TOut

The type of the out.

Methods

View Source

Execute(TIn, IExecutionContext)

Executes with the specified input.

Declaration
TOut Execute(TIn input, IExecutionContext executionContext = null)
Parameters
Type Name Description
TIn input

The input.

IExecutionContext executionContext

The execution context.

Returns
Type Description
TOut

Result from execution.

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