Class JoinedEnumerable
Joined enumerable extensions class
Inherited Members
Namespace: XData.Extensions
Assembly: XData.docfx.dll
Syntax
public static class JoinedEnumerable
Methods
| Improve this Doc View SourceFullOuterJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>)
Full outer join extension
Declaration
public static IEnumerable<TResult> FullOuterJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TOuter> | outer | Outer enumerable |
| IEnumerable<TInner> | inner | Inner enumerable |
| Func<TOuter, TKey> | outerKeySelector | Outer key selector |
| Func<TInner, TKey> | innerKeySelector | Inner key selector |
| Func<TOuter, TInner, TResult> | resultSelector | Result selector |
| IEqualityComparer<TKey> | comparer | Key type comparer |
Returns
| Type | Description |
|---|---|
| IEnumerable<TResult> | Joined sequence |
Type Parameters
| Name | Description |
|---|---|
| TOuter | Outer enumerable type |
| TInner | Inner enumerable type |
| TKey | Join key type |
| TResult | Result sequence type |
See Also
| Improve this Doc View SourceInner<TElement>(IEnumerable<TElement>)
Mark enumerable as inner
Declaration
public static JoinedEnumerable<TElement> Inner<TElement>(this IEnumerable<TElement> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TElement> | source | Source sequence |
Returns
| Type | Description |
|---|---|
| JoinedEnumerable<TElement> | Joined inner enumerable |
Type Parameters
| Name | Description |
|---|---|
| TElement | Element type |
See Also
Join<TOuter, TInner, TKey, TResult>(JoinedEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>)
Join extension for Joined enumerable
Declaration
public static IEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this JoinedEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| JoinedEnumerable<TOuter> | outer | Outer enumerable |
| IEnumerable<TInner> | inner | Inner enumerable |
| Func<TOuter, TKey> | outerKeySelector | Outer key selector |
| Func<TInner, TKey> | innerKeySelector | Inner key selector |
| Func<TOuter, TInner, TResult> | resultSelector | Result selector |
| IEqualityComparer<TKey> | comparer | Key type comparer |
Returns
| Type | Description |
|---|---|
| IEnumerable<TResult> | Joined sequence |
Type Parameters
| Name | Description |
|---|---|
| TOuter | Outer enumerable type |
| TInner | Inner enumerable type |
| TKey | Join key type |
| TResult | Result sequence type |
Exceptions
| Type | Condition |
|---|---|
| XDataRuntimeException | Argument null |
See Also
LeftOuterJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>)
Left outer join extension
Declaration
public static IEnumerable<TResult> LeftOuterJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TOuter> | outer | Outer enumerable |
| IEnumerable<TInner> | inner | Inner enumerable |
| Func<TOuter, TKey> | outerKeySelector | Outer key selector |
| Func<TInner, TKey> | innerKeySelector | Inner key selector |
| Func<TOuter, TInner, TResult> | resultSelector | Result selector |
| IEqualityComparer<TKey> | comparer | Key type comparer |
Returns
| Type | Description |
|---|---|
| IEnumerable<TResult> | Joined sequence |
Type Parameters
| Name | Description |
|---|---|
| TOuter | Outer enumerable type |
| TInner | Inner enumerable type |
| TKey | Join key type |
| TResult | Result sequence type |
See Also
| Improve this Doc View SourceOuter<TElement>(IEnumerable<TElement>)
Mark enumerable as outer
Declaration
public static JoinedEnumerable<TElement> Outer<TElement>(this IEnumerable<TElement> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TElement> | source | Source sequence |
Returns
| Type | Description |
|---|---|
| JoinedEnumerable<TElement> | Joined inner enumerable |
Type Parameters
| Name | Description |
|---|---|
| TElement | Element type |
See Also
RightOuterJoin<TOuter, TInner, TKey, TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>)
Right outer join extension
Declaration
public static IEnumerable<TResult> RightOuterJoin<TOuter, TInner, TKey, TResult>(this IEnumerable<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TOuter> | outer | Outer enumerable |
| IEnumerable<TInner> | inner | Inner enumerable |
| Func<TOuter, TKey> | outerKeySelector | Outer key selector |
| Func<TInner, TKey> | innerKeySelector | Inner key selector |
| Func<TOuter, TInner, TResult> | resultSelector | Result selector |
| IEqualityComparer<TKey> | comparer | Key type comparer |
Returns
| Type | Description |
|---|---|
| IEnumerable<TResult> | Joined sequence |
Type Parameters
| Name | Description |
|---|---|
| TOuter | Outer enumerable type |
| TInner | Inner enumerable type |
| TKey | Join key type |
| TResult | Result sequence type |