LogicEngine.GetModel Method

<< Click to Display Table of Contents >>

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

LogicEngine.GetModel Method

Retrieves a LogicModel from the collection based on the specified model identifier.

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

 

Syntax


public static LogicModel GetModel(
 Guid modelId
)

Parameters

modelId

Type: Guid
The unique identifier of the model to retrieve.

Return Value

The LogicModel associated with the specified modelId.

 

Exceptions


Exception

Condition

[KeyNotFoundException]

Thrown when a model with the specified modelId is not found in the collection.

 

See Also


LogicEngine Class

BNCS.Logic.Engine Namespace