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