 | detachDetachT1, T2, T3, T4 Method (IListTupleT1, T2, T3, T4, IGuardT3, IGuardT4) |
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static IList<Tuple<T1, T2>> Detach<T1, T2, T3, T4>(
this IList<Tuple<T1, T2, T3, T4>> this,
IGuard<T3> informer2,
IGuard<T4> informer3
)
Parameters
- this
- Type: System.Collections.GenericIListTupleT1, T2, T3, T4
The IListT to transform - informer2
- Type: WhetStone.GuardIGuardT3
The IGuardT to which put the third values of the members. Setting to will put the values nowhere. - informer3
- Type: WhetStone.GuardIGuardT4
The IGuardT to which put the fourth values of the members. Setting to will put the values nowhere.
Type Parameters
- T1
- The first type of the TupleT1, T2, T3, T4 members.
- T2
- The second type of the TupleT1, T2, T3, T4 members.
- T3
- The third type of the TupleT1, T2, T3, T4 members.
- T4
- The fourth type of the TupleT1, T2, T3, T4 members.
Return Value
Type:
IListTupleT1,
T2A new
IListT with only the first member of each tuple member. When an element is enumerated, the remaining elements of the original enumerated member is set to be the informer's values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListTupleT1,
T2,
T3,
T4. 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