/// <summary> /// Instantiate the <see cref="DataCellCache"/>. /// </summary> /// <param name="context></param> /// <param name="systemCache"></param> /// <param name="maxCacheSize">The maximum size in bytes that the cache /// is allowed to grow to (eg. 4000000).</param> /// <param name="maxCellSize">The maximum size of an object that can be /// stored in the cache.</param> /// <param name="hashSize">The number of elements in the hash (should be /// a prime number).</param> internal DataCellCache(SystemContext context, ICache systemCache, int maxCacheSize, int maxCellSize, int hashSize) { this.context = context; this.maxCellSize = maxCellSize; cache = new DCCache(this, systemCache, hashSize, maxCacheSize); }