Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ICacheKeyManager.cs

namespace Nop.Core.Caching;

/// 
/// Represents a cache key manager
/// 
public partial interface ICacheKeyManager
{
    /// 
    /// Add the key
    /// 
    /// The key to add
    void AddKey(string key);

    /// 
    /// Remove the key
    /// 
    /// The key to remove
    void RemoveKey(string key);

    /// 
    /// Remove all keys
    /// 
    void Clear();

    /// 
    /// Remove keys by prefix
    /// 
    /// Prefix to delete keys
    /// The list of removed keys
    IEnumerable RemoveByPrefix(string prefix);

    /// 
    /// The list of keys
    /// 
    IEnumerable Keys { get; }
}