22 lines
559 B
C#
22 lines
559 B
C#
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
|
|
} |