mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-20 07:23:59 +08:00
#8828: Rename IRedisCacheStorageProvider to ICacheStorageProviderWithKeyPrefix
This commit is contained in:
parent
4c11dde9bf
commit
138b068e24
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user