Class SelectOnEnum
Selects a value from a set by switching over an enum.
Inheritance
object
SelectOnEnum
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitTitleAttribute]
[UnitShortTitleAttribute]
[UnitSubtitleAttribute]
[UnitOrderAttribute]
public sealed class SelectOnEnum : Unit, ISelectUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
branches
Declaration
[DoNotSerializeAttribute]
public Dictionary<object, ValueInput> branches { get; }
Property Value
canDefine
Gets a value indicating whether this unit can be defined.
Declaration
public override bool canDefine { get; }
Property Value
Overrides
enumType
Declaration
[SerializeAttribute]
[InspectableAttribute]
[UnitHeaderInspectableAttribute]
[TypeFilter]
public Type enumType { get; set; }
Property Value
selection
Declaration
[DoNotSerializeAttribute]
public ValueOutput selection { get; }
Property Value
selector
The value on which to select.
Declaration
[DoNotSerializeAttribute]
public ValueInput selector { get; }
Property Value
Methods
Branch(Flow)
Declaration
public object Branch(Flow flow)
Parameters
| Type |
Name |
Description |
| Flow |
flow |
|
Returns
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable
Extension Methods