C# Class MZ.GeneticSimulation.Helpers.Cache

The cache.
Exibir arquivo Open project: zzz77/GeneticSimulation

Public Methods

Method Description
Clear ( ) : void

Clears storage

Get ( string key, int age ) : object

Gets cached value.

Put ( string key, int age, object value ) : void

Puts object to storage.

Method Details

Clear() public static method

Clears storage
public static Clear ( ) : void
return void

Get() public static method

Gets cached value.
public static Get ( string key, int age ) : object
key string /// The key. ///
age int /// Required age of stored value. ///
return object

Put() public static method

Puts object to storage.
public static Put ( string key, int age, object value ) : void
key string /// The key. ///
age int /// The age. ///
value object /// The value. ///
return void