ExtensionsFullOuterJoinTOuter, TInner, TKey, TResult - метод
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
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,
TOuter outerDefault = null,
TInner innerDefault = null
)
<ExtensionAttribute>
Public Shared Function FullOuterJoin(Of TOuter, TInner, TKey, TResult) (
outer As IEnumerable(Of TOuter),
inner As IEnumerable(Of TInner),
outerKeySelector As Func(Of TOuter, TKey),
innerKeySelector As Func(Of TInner, TKey),
resultSelector As Func(Of TOuter, TInner, TResult),
Optional comparer As IEqualityComparer(Of TKey) = Nothing,
Optional outerDefault As TOuter = Nothing,
Optional innerDefault As TInner = Nothing
) As IEnumerable(Of TResult)
public:
[ExtensionAttribute]
generic<typename TOuter, typename TInner, typename TKey, typename TResult>
static IEnumerable<TResult>^ FullOuterJoin(
IEnumerable<TOuter>^ outer,
IEnumerable<TInner>^ inner,
Func<TOuter, TKey>^ outerKeySelector,
Func<TInner, TKey>^ innerKeySelector,
Func<TOuter, TInner, TResult>^ resultSelector,
IEqualityComparer<TKey>^ comparer = nullptr,
TOuter outerDefault = nullptr,
TInner innerDefault = nullptr
)
[<ExtensionAttribute>]
static member FullOuterJoin :
outer : IEnumerable<'TOuter> *
inner : IEnumerable<'TInner> *
outerKeySelector : Func<'TOuter, 'TKey> *
innerKeySelector : Func<'TInner, 'TKey> *
resultSelector : Func<'TOuter, 'TInner, 'TResult> *
?comparer : IEqualityComparer<'TKey> *
?outerDefault : 'TOuter *
?innerDefault : 'TInner
(* Defaults:
let _comparer = defaultArg comparer null
let _outerDefault = defaultArg outerDefault null
let _innerDefault = defaultArg innerDefault null
*)
-> IEnumerable<'TResult>
- outer IEnumerableTOuter
-
- inner IEnumerableTInner
-
- outerKeySelector FuncTOuter, TKey
-
- innerKeySelector FuncTInner, TKey
-
- resultSelector FuncTOuter, TInner, TResult
-
- comparer IEqualityComparerTKey (Optional)
-
- outerDefault TOuter (Optional)
-
- innerDefault TInner (Optional)
-
- TOuter
- TInner
- TKey
- TResult
IEnumerableTResultВ Visual Basic и C# этот метод можно вызывать как метод экземпляра для любого объекта типа
IEnumerableTOuter. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе
Методы расширения (Visual Basic) или
Методы расширения (Руководство по программированию в C#).