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