InputPortInstance Constructor (LogicPort, Nullable<Device>, Boolean)

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Engine Namespace > InputPortInstance Class > InputPortInstance Constructor  >

InputPortInstance Constructor (LogicPort, Nullable<Device>, Boolean)

Initializes a new instance of the InputPortInstance class.

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

 

Syntax


public InputPortInstance(
 LogicPort port,
 Nullable<Device> nmosDevice,
 bool monitor
)

Parameters

port

Type: BNCS.Logic.Models.LogicPort
The logic port associated with this input port instance.

nmosDevice

Type: Nullable<Device>
The optional NMOS device associated with this input port instance. Default is null.

monitor

Type: Boolean
A value indicating whether to monitor the input port instance. Default is false.

 

Exceptions


Exception

Condition

[Exception]

Thrown when the port direction is set to output, which is invalid for an input port instance.

 

See Also


InputPortInstance Class

InputPortInstance Overload

BNCS.Logic.Engine Namespace