Class ClearList
Clears all items from a list.
Syntax
[UnitCategory("Collections/Lists")]
[UnitSurtitle("List")]
[UnitShortTitle("Clear")]
[UnitOrder(6)]
[TypeIcon(typeof(RemoveListItem))]
public sealed class ClearList : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
enter
The entry point for the node.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
exit
The action to execute once the list has been cleared.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
Declaration
[DoNotSerialize]
[PortLabel("List")]
public ValueInput listInput { get; }
Property Value
listOutput
The cleared list.
Note that the input list is modified directly and then returned,
except if it is an array, in which case a new empty array
is returned instead.
Declaration
[DoNotSerialize]
[PortLabel("List")]
public ValueOutput listOutput { get; }
Property Value
Methods
Clear(Flow)
Declaration
public ControlOutput Clear(Flow flow)
Parameters
Type |
Name |
Description |
Flow |
flow |
|
Returns
Definition()
Declaration
protected override void Definition()
Overrides
Extension Methods