UtilsZipThreeT1, T2, T3, TResult Method
Apply a given function with three input arguments to each element of three lists.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static IEnumerable<TResult> ZipThree<T1, T2, T3, TResult>(
this IEnumerable<T1> source,
IEnumerable<T2> second,
IEnumerable<T3> third,
Func<T1, T2, T3, TResult> func
)
<ExtensionAttribute>
Public Shared Function ZipThree(Of T1, T2, T3, TResult) (
source As IEnumerable(Of T1),
second As IEnumerable(Of T2),
third As IEnumerable(Of T3),
func As Func(Of T1, T2, T3, TResult)
) As IEnumerable(Of TResult)
public:
[ExtensionAttribute]
generic<typename T1, typename T2, typename T3, typename TResult>
static IEnumerable<TResult>^ ZipThree(
IEnumerable<T1>^ source,
IEnumerable<T2>^ second,
IEnumerable<T3>^ third,
Func<T1, T2, T3, TResult>^ func
)
[<ExtensionAttribute>]
static member ZipThree :
source : IEnumerable<'T1> *
second : IEnumerable<'T2> *
third : IEnumerable<'T3> *
func : Func<'T1, 'T2, 'T3, 'TResult> -> IEnumerable<'TResult>
- source IEnumerableT1
- First list of arguments.
- second IEnumerableT2
- Second list of arguments.
- third IEnumerableT3
- Third list of arguments.
- func FuncT1, T2, T3, TResult
- Function to be applied to the lists.
- T1
- Type of first function argument.
- T2
- Type of second function argument.
- T3
- Type of third function argument.
- TResult
- Type of function result.
IEnumerableTResultList of function results.In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT1. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).