Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Catalog;
using Nop.Services.Caching;
namespace Nop.Services.Catalog.Caching;
///
/// Represents a related product cache event consumer
///
public partial class RelatedProductCacheEventConsumer : CacheEventConsumer
{
///
/// entity
///
/// Entity
/// A task that represents the asynchronous operation
protected override async Task ClearCacheAsync(RelatedProduct entity)
{
await RemoveByPrefixAsync(NopCatalogDefaults.RelatedProductsPrefix, entity.ProductId1);
}
}