},System.IObservable{DynamicData.IChangeSet{--2,--3}},System.Func{--2,--1},System.Func{DynamicData.Kernel.Optional{--0},DynamicData.IGrouping{--2,--3,--1},--4})} },System.IObservable{DynamicData.IChangeSet{--2,--3}},System.Func{--2,--1},System.Func{--1,DynamicData.Kernel.Optional{--0},DynamicData.IGrouping{--2,--3,--1},--4})}
ObservableCacheEx.RightJoinMany(IObservable>, IObservable>, Func, Func, IGrouping, TDestination>) 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<TDestination, TLeftKey>> RightJoinMany<TLeft, TLeftKey, TRight, TRightKey, TDestination>(this IObservable<IChangeSet<TLeft, TLeftKey>> left, IObservable<IChangeSet<TRight, TRightKey>> right, Func<TRight, TLeftKey> rightKeySelector, Func<Optional<TLeft>, IGrouping<TRight, TRightKey, TLeftKey>, TDestination> resultSelector) where TLeft : notnull where TLeftKey : notnull where TRight : notnull where TRightKey : notnull where TDestination : notnull - 2.
public static IObservable<IChangeSet<TDestination, TLeftKey>> RightJoinMany<TLeft, TLeftKey, TRight, TRightKey, TDestination>(this IObservable<IChangeSet<TLeft, TLeftKey>> left, IObservable<IChangeSet<TRight, TRightKey>> right, Func<TRight, TLeftKey> rightKeySelector, Func<TLeftKey, Optional<TLeft>, IGrouping<TRight, TRightKey, TLeftKey>, TDestination> resultSelector) where TLeft : notnull where TLeftKey : notnull where TRight : notnull where TRightKey : notnull where TDestination : notnull
1. Overload¶
public static IObservable<IChangeSet<TDestination, TLeftKey>> RightJoinMany<TLeft, TLeftKey, TRight, TRightKey, TDestination>(this IObservable<IChangeSet<TLeft, TLeftKey>> left, IObservable<IChangeSet<TRight, TRightKey>> right, Func<TRight, TLeftKey> rightKeySelector, Func<Optional<TLeft>, IGrouping<TRight, TRightKey, TLeftKey>, TDestination> resultSelector) where TLeft : notnull where TLeftKey : notnull where TRight : notnull where TRightKey : notnull where TDestination : notnull
Summary: Groups the right data source and joins the two sources matching them using the specified key selector, , taking all right values and combining any matching left values. This is the equivalent of SQL left join.
Type parameters
| Name | Description |
|---|---|
TLeft | The object type of the left data source. |
TLeftKey | The key type of the left data source. |
TRight | The object type of the right data source. |
TRightKey | The key type of the right data source. |
TDestination | The resulting object which. |
Parameters
| Name | Type | Description |
|---|---|---|
left | IObservable | The left data source. |
right | IObservable | The right data source. |
rightKeySelector | Func | Specify the foreign key on the right data source. |
resultSelector | Func | The result selector.used to transform the combined data into. Example (left, right) => new CustomObject(key, left, right). |
Returns: IObservable
2. Overload¶
public static IObservable<IChangeSet<TDestination, TLeftKey>> RightJoinMany<TLeft, TLeftKey, TRight, TRightKey, TDestination>(this IObservable<IChangeSet<TLeft, TLeftKey>> left, IObservable<IChangeSet<TRight, TRightKey>> right, Func<TRight, TLeftKey> rightKeySelector, Func<TLeftKey, Optional<TLeft>, IGrouping<TRight, TRightKey, TLeftKey>, TDestination> resultSelector) where TLeft : notnull where TLeftKey : notnull where TRight : notnull where TRightKey : notnull where TDestination : notnull
Summary: Groups the right data source and joins the two sources matching them using the specified key selector,, taking all right values and combining any matching left values. This is the equivalent of SQL left join.
Type parameters
| Name | Description |
|---|---|
TLeft | The object type of the left data source. |
TLeftKey | The key type of the left data source. |
TRight | The object type of the right data source. |
TRightKey | The key type of the right data source. |
TDestination | The resulting object which. |
Parameters
| Name | Type | Description |
|---|---|---|
left | IObservable | The left data source. |
right | IObservable | The right data source. |
rightKeySelector | Func | Specify the foreign key on the right data source. |
resultSelector | Func | The result selector.used to transform the combined data into. Example (key, left, right) => new CustomObject(key, left, right). |
Returns: IObservable