private void InitializeCache(IEnumerable <T> data) { CacheLock.Write(Lock, () => { primaryCache.Initialize(data); secondaryCaches.Initialize(data); cacheStorageStrategy.Save("Primary", primaryCache); cacheStorageStrategy.Save("Secondary", secondaryCaches); }); }