Table of Contents

Method ToAction

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

func Func<object, int>

Value to convert.

Returns

Action<T>

Type Parameters

T