Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.News;
using Nop.Services.Caching;
namespace Nop.Services.News.Caching;
///
/// Represents a news comment cache event consumer
///
public partial class NewsCommentCacheEventConsumer : CacheEventConsumer
{
///
/// Clear cache data
///
/// Entity
/// A task that represents the asynchronous operation
protected override async Task ClearCacheAsync(NewsComment entity)
{
await RemoveByPrefixAsync(NopNewsDefaults.NewsCommentsNumberPrefix, entity.NewsItemId);
}
}