LogicEngine.GetModelInputPortValue Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Engine Namespace > LogicEngine Class > LogicEngine Methods >

LogicEngine.GetModelInputPortValue Method

Retrieves the value of a specified input port for a given model instance.

Namespace: BNCS.Logic.Engine
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static Object GetModelInputPortValue(
 Guid modelId,
 Guid inputId
)

Parameters

modelId

Type: Guid
The unique identifier of the model instance.

inputId

Type: Guid
The unique identifier of the input port within the model instance.

Return Value

The value of the specified input port.

 

Exceptions


Exception

Condition

[KeyNotFoundException]

Thrown when the model with the specified modelId is not found or when the input port with the specified inputId is not found in the model.

 

See Also


LogicEngine Class

BNCS.Logic.Engine Namespace