Class SelectUnit<T>
Inheritance
SelectUnit<T>
Syntax
[TypeIcon(typeof(ISelectUnit))]
public abstract class SelectUnit<T> : Unit, ISelectUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
Properties
branches
Declaration
[DoNotSerialize]
public List<KeyValuePair<T, ValueInput>> branches { get; }
Property Value
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Overrides
Implements
default
The output value to return if the selector doesn't match any other option.
Declaration
[DoNotSerialize]
public ValueInput default { get; }
Property Value
options
Declaration
[Inspectable]
[Serialize]
public List<T> options { get; set; }
Property Value
selection
Declaration
[DoNotSerialize]
public ValueOutput selection { get; }
Property Value
Implements
selector
The value on which to select.
Declaration
[DoNotSerialize]
public ValueInput selector { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Matches(T, T)
Declaration
protected virtual bool Matches(T a, T b)
Parameters
Type |
Name |
Description |
T |
a |
|
T |
b |
|
Returns
Result(Flow)
Declaration
public object Result(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Extension Methods