Webiant Logo Webiant Logo
  1. No results found.

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

NopAttributeDefaults.cs

using Nop.Core.Caching;

namespace Nop.Services.Attributes;

/// <summary>
/// Represents default values related to attributes services
/// </summary>
public static partial class NopAttributeDefaults
{
    #region Caching defaults

    /// <summary>
    /// Gets a key for caching attribute values of the attribute
    /// </summary>
    /// <remarks>
    /// {0} : attribute type
    /// {1} : attribute ID
    /// </remarks>
    public static CacheKey AttributeValuesByAttributeCacheKey => new("Nop.attributevalue.byattribute.{0}.{1}");

    #endregion
}