Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: void Apply<TSource1, TSource2>(this ValueTuple<TSource1, TSource2>, Action<TSource1, TSource2>)

  • Declared in: RT.Util.Ut

Declaration

public static void Apply<TSource1, TSource2>(
    this ValueTuple<TSource1, TSource2> source,
    Action<TSource1, TSource2> action
)

Summary

Executes the specified action with the specified tuple argument.

Generic type parameters

TSource1 Type of the first element in the tuple argument to the function.
TSource2 Type of the second element in the tuple argument to the function.

Parameters

this ValueTuple<TSource1, TSource2>source The argument to the action.
Action<TSource1, TSource2>action The action to execute.

Returns

The result of the function.