Utils Class Reference

Class containing utility functions. More...

List of all members.

Static Public Member Functions

static Type[] GetTypesInNamespace (string name_space)
 Get all types of a namespace.
static Func< A, R > Memoize< A, R > (this Func< A, R > f)
 Memoize a function.
static void Shuffle< T > (this IList< T > list)
 Shuffle a list in-place.

Detailed Description

Class containing utility functions.


Member Function Documentation

static Type [] GetTypesInNamespace ( string  name_space  )  [inline, static]

Get all types of a namespace.

Parameters:
name_space a string describing the namespace
Returns:
an array of Type objects
static Func<A, R> Memoize< A, R > ( this Func< A, R >  f  )  [inline, static]

Memoize a function.

Parameters:
f The function to memoize
Returns:
a version of the function that remembers past function results
static void Shuffle< T > ( this IList< T >  list  )  [inline, static]

Shuffle a list in-place.

Fisher-Yates shuffle, see http://en.wikipedia.org/wiki/Fisher–Yates_shuffle


The documentation for this class was generated from the following file:
Generated on Thu Apr 5 01:11:39 2012 for MyMediaLite by  doxygen 1.6.3