Class BinaryOperatorUnit
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitDisplay(showTitle = false)]
public class BinaryOperatorUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
BinaryOperatorUnit()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.", true)]
public BinaryOperatorUnit()
BinaryOperatorUnit(BinaryOperator, HybridType, HybridType)
Declaration
public BinaryOperatorUnit(BinaryOperator operator, HybridType leftType, HybridType rightType)
Parameters
| Type | Name | Description | 
|---|---|---|
| BinaryOperator | operator | |
| HybridType | leftType | |
| HybridType | rightType | 
Properties
a
The first input.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueInput a { get; }
Property Value
| Type | Description | 
|---|---|
| ValueInput | 
b
The second input.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueInput b { get; }
Property Value
| Type | Description | 
|---|---|
| ValueInput | 
canDefine
Declaration
public override bool canDefine { get; }
Property Value
| Type | Description | 
|---|---|
| Boolean | 
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
handler
Declaration
[DoNotSerialize]
public BinaryOperatorHandler handler { get; }
Property Value
| Type | Description | 
|---|---|
| BinaryOperatorHandler | 
leftType
Declaration
[DoNotSerialize]
public HybridType leftType { get; set; }
Property Value
| Type | Description | 
|---|---|
| HybridType | 
operator
Declaration
[DoNotSerialize]
public BinaryOperator operator { get; set; }
Property Value
| Type | Description | 
|---|---|
| BinaryOperator | 
result
The result of the operator applied between A and B.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueOutput result { get; }
Property Value
| Type | Description | 
|---|---|
| ValueOutput | 
resultType
Declaration
[DoNotSerialize]
public Type resultType { get; }
Property Value
| Type | Description | 
|---|---|
| Type | 
rightType
Declaration
[DoNotSerialize]
public HybridType rightType { get; set; }
Property Value
| Type | Description | 
|---|---|
| HybridType | 
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Result(Flow)
Declaration
public object Result(Flow flow)
Parameters
| Type | Name | Description | 
|---|---|---|
| Flow | flow | 
Returns
| Type | Description | 
|---|---|
| Object |