Webiant Logo Webiant Logo
  1. No results found.

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

NopStoreDefaults.cs

using Nop.Core.Caching;

namespace Nop.Services.Stores;

/// 
/// Represents default values related to stores services
/// 
public static partial class NopStoreDefaults
{
    #region Caching defaults

    /// 
    /// Gets a key for caching
    /// 
    /// 
    /// {0} : entity ID
    /// {1} : entity name
    /// 
    public static CacheKey StoreMappingIdsCacheKey => new("Nop.storemapping.ids.{0}-{1}");

    /// 
    /// Gets a key for caching
    /// 
    /// 
    /// {0} : entity ID
    /// {1} : entity name
    /// 
    public static CacheKey StoreMappingsCacheKey => new("Nop.storemapping.{0}-{1}");

    /// 
    /// Gets a key for caching
    /// 
    /// 
    /// {0} : entity name
    /// 
    public static CacheKey StoreMappingExistsCacheKey => new("Nop.storemapping.exists.{0}");

    #endregion
}