Provides extension methods related to delegate usage.
More...
|
static void | Apply< T > (this T t, DelegateAction< T > a) |
| Calls the specified action with the specified value. More...
|
|
static void | Apply< T, P > (this T t, DelegateAction< T, P > a, P p) |
| Calls the specified action with the specified value and parameter. More...
|
|
static U | Apply< T, U > (this T t, DelegateFunc< T, U > f) |
| Calls the specified function with the specified value and returns the result. More...
|
|
static U | Apply< T, U, P > (this T t, DelegateFunc< T, P, U > f, P p) |
| Calls the specified function with the specified value and parameter and returns the result. More...
|
|
Provides extension methods related to delegate usage.
static void Smooth.Delegates.DelegateExtensions.Apply< T > |
( |
this T |
t, |
|
|
DelegateAction< T > |
a |
|
) |
| |
|
inlinestatic |
Calls the specified action with the specified value.
static void Smooth.Delegates.DelegateExtensions.Apply< T, P > |
( |
this T |
t, |
|
|
DelegateAction< T, P > |
a, |
|
|
P |
p |
|
) |
| |
|
inlinestatic |
Calls the specified action with the specified value and parameter.
static U Smooth.Delegates.DelegateExtensions.Apply< T, U > |
( |
this T |
t, |
|
|
DelegateFunc< T, U > |
f |
|
) |
| |
|
inlinestatic |
Calls the specified function with the specified value and returns the result.
static U Smooth.Delegates.DelegateExtensions.Apply< T, U, P > |
( |
this T |
t, |
|
|
DelegateFunc< T, P, U > |
f, |
|
|
P |
p |
|
) |
| |
|
inlinestatic |
Calls the specified function with the specified value and parameter and returns the result.
The documentation for this class was generated from the following file: