Class SelectUnit<T>
Inheritance
object
SelectUnit<T>
Assembly: solution.dll
Syntax
public abstract class SelectUnit<T> : Unit, ISelectUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Type Parameters
Properties
branches
Declaration
[DoNotSerializeAttribute]
public List<KeyValuePair<T, ValueInput>> branches { get; }
Property Value
| Type |
Description |
| List<KeyValuePair<T, ValueInput>> |
|
canDefine
Gets a value indicating whether this unit can be defined.
Declaration
public override bool canDefine { get; }
Property Value
Overrides
default
The output value to return if the selector doesn't match any other option.
Declaration
[DoNotSerializeAttribute]
public ValueInput @default { get; }
Property Value
options
Declaration
[InspectableAttribute]
[SerializeAttribute]
public List<T> options { 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
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
Implements
IDisposable
Extension Methods