Class CountItems
Counts all items in a collection or enumeration.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Collections")]
[Obsolete("Use the new generic collections instead.")]
public sealed class CountItems : 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 |
count
The number of items contained in the collection.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueOutput count { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Count(Flow)
Declaration
public int Count(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Int32 |
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()