public PlatformCacheServiceImpl(ICollectionFactory collectionFactory, ICacheFactory cacheFactory) { this.collectionFactory = collectionFactory; this.cacheFactory = cacheFactory; this.cachesByName = collectionFactory.CreateDictionary <string, ICache>(); }