CountEx.IsNotEmpty(IObservable>) method¶
Defined in
Type: CountEx
Namespace: DynamicData.Aggregation
Assembly: DynamicData.dll
Applies to
net10.0, netstandard2.0
Overloads¶
-
public static IObservable<bool> IsNotEmpty<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull -
public static IObservable<bool> IsNotEmpty<TObject>(this IObservable<IChangeSet<TObject>> source) where TObject : notnull
1. Overload¶
public static IObservable<bool> IsNotEmpty<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull
Summary: Counts the total number of items in the underlying data source and returns true if the number of items is greater than 0.
Type parameters
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | The source. |
Returns: IObservable
2. Overload¶
public static IObservable<bool> IsNotEmpty<TObject>(this IObservable<IChangeSet<TObject>> source) where TObject : notnull
Summary: Counts the total number of items in the underlying data source and returns true if the number of items is greater than 0.
Type parameters
| Name | Description |
|---|---|
TObject | The type of the object. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | The source. |
Returns: IObservable