Class Combine3Processor<TIn1, TIn2, TIn3, TOut>
- Namespace
- FlowGraph.Core.DataFlow.Processors
- Assembly
- FlowGraph.Core.dll
A processor that combines three inputs into one output.
public class Combine3Processor<TIn1, TIn2, TIn3, TOut> : NodeProcessor, INodeProcessor
Type Parameters
TIn1The first input type.
TIn2The second input type.
TIn3The third input type.
TOutThe output type.
- Inheritance
-
Combine3Processor<TIn1, TIn2, TIn3, TOut>
- Implements
- Inherited Members
Constructors
Combine3Processor(Node, Func<TIn1?, TIn2?, TIn3?, TOut?>, string, string, string, string)
Creates a new combine processor.
public Combine3Processor(Node node, Func<TIn1?, TIn2?, TIn3?, TOut?> combine, string input1PortId = "in1", string input2PortId = "in2", string input3PortId = "in3", string outputPortId = "out")
Parameters
nodeNodeThe node.
combineFunc<TIn1, TIn2, TIn3, TOut>The combination function.
input1PortIdstringThe first input port ID.
input2PortIdstringThe second input port ID.
input3PortIdstringThe third input port ID.
outputPortIdstringThe output port ID.
Properties
Input1Value
Gets the first input value.
public TIn1? Input1Value { get; }
Property Value
- TIn1
Input2Value
Gets the second input value.
public TIn2? Input2Value { get; }
Property Value
- TIn2
Input3Value
Gets the third input value.
public TIn3? Input3Value { get; }
Property Value
- TIn3
OutputValue
Gets the output value.
public TOut? OutputValue { get; }
Property Value
- TOut
Methods
Process()
Processes inputs and updates outputs. Called automatically when any input changes (if auto-execute is enabled).
public override void Process()