Skip to content

},System.IObservable{DynamicData.IChangeSet{--0,--1}}[])} }})} }})} })} })}

ObservableCacheEx.And(IObservable>, IObservable>[]) method

Defined in

Type: ObservableCacheEx Namespace: DynamicData Assembly: DynamicData.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, netstandard2.0, net462, net471

Overloads

  • 1. public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, params IObservable<IChangeSet<TObject, TKey>>[] others) where TObject : notnull where TKey : notnull
  • 2. public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this ICollection<IObservable<IChangeSet<TObject, TKey>>> sources) where TObject : notnull where TKey : notnull
  • 3. public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<IObservable<IChangeSet<TObject, TKey>>> sources) where TObject : notnull where TKey : notnull
  • 4. public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<IObservableCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull
  • 5. public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<ISourceCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull

1. Overload

public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservable<IChangeSet<TObject, TKey>> source, params IObservable<IChangeSet<TObject, TKey>>[] others) where TObject : notnull where TKey : notnull

View source

Summary: Applied a logical And operator between the collections i.e items which are in all of the sources are included.

Type parameters

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

Parameters

NameTypeDescription
sourceIObservable>The source IObservable<IChangeSet<TObject, TKey>> to combine.
params othersIObservable<IChangeSet<TObject, TKey>>[]The additional IObservable<IChangeSet<TObject, TKey>> streams to combine with.

Returns: IObservable> -- An observable which emits change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource or others.

See also

  • 0>[DynamicData.ObservableListEx.And1(System.IObservable},System.IObservable{DynamicData.IChangeSet{``0}}[])][M:DynamicData.ObservableListEx.And--1(System.IObservable{DynamicData.IChangeSet{--0}},System.IObservable{DynamicData.IChangeSet{--0}}[])]

2. Overload

public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this ICollection<IObservable<IChangeSet<TObject, TKey>>> sources) where TObject : notnull where TKey : notnull

View source

Summary: Applied a logical And operator between the collections i.e items which are in all of the sources are included.

Type parameters

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

Parameters

NameTypeDescription
sourcesICollection>>The ICollection of streams to combine.

Returns: IObservable> -- An observable which emits change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource or others.

3. Overload

public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<IObservable<IChangeSet<TObject, TKey>>> sources) where TObject : notnull where TKey : notnull

View source

Summary: Dynamically apply a logical And operator between the items in the outer observable list. Items which are in all of the sources are included in the result.

Type parameters

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

Parameters

NameTypeDescription
sources[IObservableList>>](#The [IObservableList](# of streams to combine.

Returns: IObservable> -- An observable which emits change sets.

4. Overload

public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<IObservableCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull

View source

Summary: Dynamically apply a logical And operator between the items in the outer observable list. Items which are in all of the sources are included in the result.

Type parameters

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

Parameters

NameTypeDescription
sources[IObservableList>](#The IObservableList<IObservableCache<TObject, TKey>> of changeset streams to combine.

Returns: IObservable> -- An observable which emits change sets.

5. Overload

public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<ISourceCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull

View source

Summary: Dynamically apply a logical And operator between the items in the outer observable list. Items which are in all of the sources are included in the result.

Type parameters

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

Parameters

NameTypeDescription
sources[IObservableList>](#The IObservableList<ISourceCache<TObject, TKey>> of changeset streams to combine.

Returns: IObservable> -- An observable which emits change sets.