Click or drag to resize

attachAttachT1, T2, T3 Method (IListTupleT1, T2, FuncT1, T2, T3)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IList<Tuple<T1, T2, T3>> Attach<T1, T2, T3>(
	this IList<Tuple<T1, T2>> this,
	Func<T1, T2, T3> selector
)

Parameters

this
Type: System.Collections.GenericIListTupleT1, T2
The original IListT of type TupleT1, T2
selector
Type: SystemFuncT1, T2, T3
The function from which to get the output as the third member of the tuple.

Type Parameters

T1
The first type of the original IListT of type TupleT1, T2
T2
The second type of the original IListT of type TupleT1, T2
T3
The type of selector's output.

Return Value

Type: IListTupleT1, T2, T3
An IListT of type TupleT1, T2, T3 of this's elements with the output of the selector function applied to them.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListTupleT1, T2. 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).
See Also