Class LastItem
Returns the first item in a collection or enumeration.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Collections")]
[Obsolete("Use the new generic collections instead.")]
public sealed class LastItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
collection
The collection.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueInput collection { get; }
Property Value
Type | Description |
---|---|
ValueInput |
lastItem
The last item of the collection.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueOutput lastItem { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
First(Flow)
Declaration
public object First(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Object |