Table of Contents

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

TIn1

The first input type.

TIn2

The second input type.

TIn3

The third input type.

TOut

The 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

node Node

The node.

combine Func<TIn1, TIn2, TIn3, TOut>

The combination function.

input1PortId string

The first input port ID.

input2PortId string

The second input port ID.

input3PortId string

The third input port ID.

outputPortId string

The 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()