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

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.
params othersIObservable<IChangeSet<TObject, TKey>>[]The others.

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

Exceptions

TypeCondition
System.ArgumentNullExceptionsource or others.

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

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

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

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

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