Method ToAction
ToAction<T>(Func<object, int>)
Converts Func<T, TResult> with object parameter and int result type to Action<T>.
public static Action<T> ToAction<T>(Func<object, int> func)
Parameters
Returns
- Action<T>
Type Parameters
T
Converts Func<T, TResult> with object parameter and int result type to Action<T>.
public static Action<T> ToAction<T>(Func<object, int> func)
T