Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: void Apply<TSource>(this TSource, Action<TSource>)

  • Declared in: RT.Util.Ut

Declaration

public static void Apply<TSource>(
    this TSource source,
    Action<TSource> action
)

Summary

Executes the specified action with the specified argument.

Generic type parameters

TSource Type of the argument to the action.

Parameters

this TSourcesource The argument to the action.
Action<TSource>action The action to execute.

Returns

The result of the function.