Webiant Logo Webiant Logo
  1. No results found.

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

SettingCacheEventConsumer.cs

using Nop.Core.Domain.Configuration;
using Nop.Services.Caching;

namespace Nop.Services.Configuration.Caching;

/// 
/// Represents a setting cache event consumer
/// 
public partial class SettingCacheEventConsumer : CacheEventConsumer
{
    /// 
    /// Clear cache by entity event type
    /// 
    /// Entity
    /// Entity event type
    /// A task that represents the asynchronous operation
    protected override Task ClearCacheAsync(Setting entity, EntityEventType entityEventType)
    {
        //clear setting cache in SettingService
        return Task.CompletedTask;
    }
}