Table of Contents

Class FlowNode_SwitchEnumT<TEnum>

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll

Route execution to one of several output ports based on the value of an enum type, offering a dynamic branching mechanism in execution flow.

[CeresGroup("Utilities")]
[CeresLabel("Switch on {0}")]
[NodeInfo("Routes execution to the output matching the selected enum value.")]
public class FlowNode_SwitchEnumT<TEnum> : FlowNode_SwitchEnum, IEnumerable<CeresNode>, IEnumerable, IDisposable, IReadOnlyPortArrayNode where TEnum : Enum

Type Parameters

TEnum
Inheritance
FlowNode_SwitchEnumT<TEnum>
Implements
Inherited Members

Constructors

FlowNode_SwitchEnumT()

public FlowNode_SwitchEnumT()

Fields

outputs

[OutputPort(false)]
public NodePort[] outputs

Field Value

NodePort[]

sourceValue

[InputPort(false)]
[CeresLabel("Selection")]
public CeresPort<TEnum> sourceValue

Field Value

CeresPort<TEnum>

Methods

Execute(ExecutionContext)

protected override sealed UniTask Execute(ExecutionContext executionContext)

Parameters

executionContext ExecutionContext

Returns

UniTask

GetPortArrayFieldName()

public string GetPortArrayFieldName()

Returns

string

GetPortArrayLength()

public int GetPortArrayLength()

Returns

int

OnAfterDeserialize()

public void OnAfterDeserialize()

OnBeforeSerialize()

public void OnBeforeSerialize()

__getTypeName()

protected override string __getTypeName()

Returns

string

__initializePorts()

protected override void __initializePorts()

__initializeVariables()

protected override void __initializeVariables()