public ParentCacheHandle( ICacheManagerConfiguration managerConfiguration, CacheHandleConfiguration configuration, ILoggerFactory loggerFactory, ParentCache <TCacheValue> parentCache) : base(managerConfiguration, configuration) { _parent = parentCache; Logger = loggerFactory.CreateLogger(this); }
public static ConfigurationBuilderCacheHandlePart WithParentCache <TCacheValue>(this ConfigurationBuilderCachePart config, ParentCache <TCacheValue> parent) => config.WithHandle(typeof(ParentCacheHandle <>), "PraentCache", false, parent);