Class DummyCache
Dummy cache. This class does not cache, but forward requests directly to the miss-function. This is the default for TuringTrader's data cache.
Inheritance
object
DummyCache
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class DummyCache : ICache
Methods
| Improve this Doc View SourceFetch<T>(string, Func<T>)
Fetch data from cache. Will always call miss function.
Declaration
public T Fetch<T>(string cacheId, Func<T> missFun)
Parameters
Type | Name | Description |
---|---|---|
string | cacheId | |
System.Func<TResult><T> | missFun |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |