MultiInputOperation.AddInput Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Abstract Namespace > MultiInputOperation Class > MultiInputOperation Methods >

MultiInputOperation.AddInput Method

Adds an input connector to the operator if it is compatible and does not exceed the maximum allowed inputs.

Namespace: BNCS.Logic.Abstract
Assembly:  BNCS.Logic (in BNCS.Logic.dll)

 

Syntax


public void AddInput(
 Connector input
)

Parameters

input

Type: BNCS.Logic.Connector
The input connector to be added.

 

Exceptions


Exception

Condition

ArgumentNullException

Thrown when the input is null.

Exception

Thrown when the input type is not compatible with the operator's input type, when the maximum number of inputs is exceeded, or when the input is already added.

TypeAccessException

Thrown when the input type is not compatible with the operator's input type.

 

See Also


MultiInputOperation Class

BNCS.Logic.Abstract Namespace