Class PassThroughProcessor<T>
- Namespace
- FlowGraph.Core.DataFlow.Processors
- Assembly
- FlowGraph.Core.dll
A processor that passes through a single value unchanged. Useful for debugging or as a base for more complex processors.
public class PassThroughProcessor<T> : NodeProcessor, INodeProcessor
Type Parameters
TThe type of value to pass through.
- Inheritance
-
PassThroughProcessor<T>
- Implements
- Inherited Members
Constructors
PassThroughProcessor(Node, string, string)
Creates a new pass-through processor.
public PassThroughProcessor(Node node, string inputPortId = "in", string outputPortId = "out")
Parameters
Properties
Value
Gets the current value.
public T? Value { get; }
Property Value
- T
Methods
Process()
Processes inputs and updates outputs. Called automatically when any input changes (if auto-execute is enabled).
public override void Process()