#8828: Rename IRedisCacheStorageProvider to ICacheStorageProviderWithKeyPrefix

This commit is contained in:
Marek Dzikiewicz 2025-04-15 06:30:30 -04:00
parent 4c11dde9bf
commit 138b068e24
No known key found for this signature in database
GPG Key ID: 517A3D99123D7DCA

View File

@ -10,13 +10,13 @@ using System;
namespace Orchard.Redis.Caching {
public interface IRedisCacheStorageProvider : ICacheStorageProvider {
public interface ICacheStorageProviderWithKeyPrefix : ICacheStorageProvider {
void Clear(string key);
}
[OrchardFeature("Orchard.Redis.Caching")]
[OrchardSuppressDependency("Orchard.Caching.Services.DefaultCacheStorageProvider")]
public class RedisCacheStorageProvider : Component, IRedisCacheStorageProvider {
public class RedisCacheStorageProvider : Component, ICacheStorageProviderWithKeyPrefix {
public const string ConnectionStringKey = "Orchard.Redis.Cache";
private readonly ShellSettings _shellSettings;