Show / Hide Table of Contents

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

| Edit this page View Source

Fetch<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
Func<T> missFun
Returns
Type Description
T
Type Parameters
Name Description
T

Implements

ICache
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com