Class RemoveListItemAt
Removes the item at the specified index of a list.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Collections/Lists", 5)]
[UnitDisplay("List", "Remove Item At Index", null)]
[TypeIcon(typeof(RemoveListItem))]
[Obsolete("Use the new generic collections instead.")]
public sealed class RemoveListItemAt : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
enter
The entry point for the node.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to execute once the item has been removed.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
index
The zero-based index.
Declaration
[DoNotSerialize]
public ValueInput index { get; }
Property Value
Type | Description |
---|---|
ValueInput |
listInput
The list.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, verticalPrimary = true)]
public ValueInput listInput { get; }
Property Value
Type | Description |
---|---|
ValueInput |
listOutput
The list without the removed item. Note that the input list is modified directly and then returned, except if it is an array, in which case a new array without the item is returned instead.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, verticalPrimary = true)]
public ValueOutput listOutput { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
RemoveAt(Flow)
Declaration
public ControlOutput RemoveAt(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
ControlOutput |