},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
Summary: Applied a logical And operator between the collections i.e items which are in all of the sources are included.
Type parameters
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
source | IObservable | The source IObservable<IChangeSet<TObject, TKey>> to combine. |
params others | IObservable<IChangeSet<TObject, TKey>>[] | The additional IObservable<IChangeSet<TObject, TKey>> streams to combine with. |
Returns: IObservable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source or others. |
See also
- 0>[DynamicData.ObservableListEx.And
1(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
Summary: Applied a logical And operator between the collections i.e items which are in all of the sources are included.
Type parameters
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
sources | ICollection | The ICollection of streams to combine. |
Returns: IObservable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source 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
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
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
sources | [IObservableList | The [IObservableList](# of streams to combine. |
Returns: IObservable
4. Overload¶
public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<IObservableCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull
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
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
sources | [IObservableList | The IObservableList<IObservableCache<TObject, TKey>> of changeset streams to combine. |
Returns: IObservable
5. Overload¶
public static IObservable<IChangeSet<TObject, TKey>> And<TObject, TKey>(this IObservableList<ISourceCache<TObject, TKey>> sources) where TObject : notnull where TKey : notnull
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
| Name | Description |
|---|---|
TObject | The type of the object. |
TKey | The type of the key. |
Parameters
| Name | Type | Description |
|---|---|---|
sources | [IObservableList | The IObservableList<ISourceCache<TObject, TKey>> of changeset streams to combine. |
Returns: IObservable