LiveQuery.Count() method¶
Defined in
Type: LiveQueryReactiveList.Reactive.Queries
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
-
public IObservable<int> Count() -
public IObservable<int> Count(Func<T, bool> predicate)
1. Overload¶
public IObservable<int> Count()
View source (opens in a new tab)
Summary: Reports how many items the query includes, now and whenever the number changes.
Returns: IObservable
2. Overload¶
public IObservable<int> Count(Func<T, bool> predicate)
View source (opens in a new tab)
Summary: Reports how many items satisfy a condition, now and whenever the number changes.
Parameters
| Name | Type | Description |
|---|---|---|
predicate | Func | The condition. |
Returns: IObservable