Skip to content

})} })}

CountEx.IsNotEmpty(IObservable>) method

Defined in

Type: CountEx Namespace: DynamicData.Aggregation Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

Overloads

  1. public static IObservable<bool> IsNotEmpty<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source) where TObject : notnull where TKey : notnull

  2. 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

View source

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

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable>The source.

Returns: IObservable -- An observable which emits the count.

2. Overload

public static IObservable<bool> IsNotEmpty<TObject>(this IObservable<IChangeSet<TObject>> source) where TObject : notnull

View source

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

NameDescription
TObjectThe type of the object.

Parameters

NameTypeDescription
sourceIObservable>The source.

Returns: IObservable -- An observable which emits the count.