Class SelectOnFlow
Selects a value from a set by matching it with an input flow.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Flow", 14)]
[UnitDisplay(null, "Select", "On Flow")]
[TypeIcon(typeof(ISelectUnit))]
public sealed class SelectOnFlow : Unit, ISerializationCallbackReceiver, ISelectUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged
Properties
branchCount
Declaration
[DoNotSerialize]
[Inspectable]
[UnitSettingDisplay("Branches")]
public int branchCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
branches
Declaration
[DoNotSerialize]
public Dictionary<ControlInput, ValueInput> branches { get; }
Property Value
Type | Description |
---|---|
Dictionary<ControlInput, ValueInput> |
exit
Triggered when any selector is entered.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
selection
The selected value.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ValueOutput selection { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Implements
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Select(Flow, ValueInput)
Declaration
public ControlOutput Select(Flow flow, ValueInput branchValue)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
ValueInput | branchValue |
Returns
Type | Description |
---|---|
ControlOutput |