public CacheStoreQuotaManager(ICacheMetadataProvider metadataProvider, Action <CacheItemMetadata> remover, CacheStoreSettings settings) { _remover = remover; _metadataProvider = metadataProvider; _settings = settings; _needsGrandTotalHouseKeeping = settings.TotalQuota > 0; _needsPerDomainHouseKeeping = settings.PerDomainQuota > 0; BuildStorageMetadata(); }
public CacheStoreQuotaManager(ICacheMetadataProvider metadataProvider, Action<CacheItemMetadata> remover, CacheStoreSettings settings) { _remover = remover; _metadataProvider = metadataProvider; _settings = settings; _needsGrandTotalHouseKeeping = settings.TotalQuota > 0; _needsPerDomainHouseKeeping = settings.PerDomainQuota > 0; BuildStorageMetadata(); }