Class MacroSavedDistributedCacheNotificationHandler
Defines a handler for a TNotification
that triggers a distributed cache refresher.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class MacroSavedDistributedCacheNotificationHandler : SavedDistributedCacheNotificationHandlerBase<IMacro, MacroSavedNotification>, IDistributedCacheNotificationHandler<MacroSavedNotification>, INotificationHandler<MacroSavedNotification>, IDistributedCacheNotificationHandler, INotificationHandler
Constructors
View SourceMacroSavedDistributedCacheNotificationHandler(DistributedCache)
Initializes a new instance of the MacroSavedDistributedCacheNotificationHandler class.
Declaration
public MacroSavedDistributedCacheNotificationHandler(DistributedCache distributedCache)
Parameters
Type | Name | Description |
---|---|---|
DistributedCache | distributedCache | The distributed cache. |
Methods
View SourceHandle(IEnumerable<IMacro>)
Handles the specified entities.
Declaration
protected override void Handle(IEnumerable<IMacro> entities)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IMacro> | entities |