Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Smooth.Delegates.DelegateExtensions Class Reference

Provides extension methods related to delegate usage. More...

Static Public Member Functions

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...
 

Detailed Description

Provides extension methods related to delegate usage.

Member Function Documentation

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 
)
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 
)
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: