Class Func
Contains methods for working with functions.
Assembly: Recore.dll
Syntax
Methods
|
Improve this Doc
View Source
AsyncFluent<T>(AsyncAction<T>)
Passes through the argument passed to a Task-returning routine.
Declaration
public static AsyncFunc<T, T> AsyncFluent<T>(this AsyncAction<T> action)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
Fluent<T>(Action<T>)
Passes through the argument passed to a void-returning routine.
Declaration
public static Func<T, T> Fluent<T>(this Action<T> action)
Parameters
Type |
Name |
Description |
Action<T> |
action |
|
Returns
Type |
Description |
Func<T, T> |
|
Type Parameters
|
Improve this Doc
View Source
Invoke<T>(Func<T>)
Calls a function and return its result.
Declaration
public static T Invoke<T>(Func<T> f)
Parameters
Type |
Name |
Description |
Func<T> |
f |
|
Returns
Type Parameters