View Source
Class PublishedSnapshotServiceEventHandler
Subscribes to Umbraco events to ensure nucache remains consistent with the source data
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class PublishedSnapshotServiceEventHandler : INotificationHandler<LanguageSavedNotification>, INotificationHandler<MemberDeletingNotification>, INotificationHandler<ContentRefreshNotification>, INotificationHandler<MediaRefreshNotification>, INotificationHandler<MemberRefreshNotification>, INotificationHandler<ContentTypeRefreshedNotification>, INotificationHandler<MediaTypeRefreshedNotification>, INotificationHandler<MemberTypeRefreshedNotification>, INotificationHandler<ScopedEntityRemoveNotification>
Constructors
View Source
PublishedSnapshotServiceEventHandler(IPublishedSnapshotService, INuCacheContentService)
Declaration
public PublishedSnapshotServiceEventHandler(IPublishedSnapshotService publishedSnapshotService, INuCacheContentService publishedContentService)
Parameters
View Source
PublishedSnapshotServiceEventHandler(IRuntimeState, IPublishedSnapshotService, INuCacheContentService, IContentService, IMediaService)
Declaration
public PublishedSnapshotServiceEventHandler(IRuntimeState runtime, IPublishedSnapshotService publishedSnapshotService, INuCacheContentService publishedContentService, IContentService contentService, IMediaService mediaService)
Parameters
Methods
View Source
Handle(ContentRefreshNotification)
Declaration
public void Handle(ContentRefreshNotification notification)
Parameters
View Source
Handle(ContentTypeRefreshedNotification)
Declaration
public void Handle(ContentTypeRefreshedNotification notification)
Parameters
View Source
Handle(LanguageSavedNotification)
If a ILanguage is ever saved with a different culture, we need to rebuild all of the content nucache
database table
Declaration
public void Handle(LanguageSavedNotification notification)
Parameters
View Source
Declaration
public void Handle(MediaRefreshNotification notification)
Parameters
View Source
Declaration
public void Handle(MediaTypeRefreshedNotification notification)
Parameters
View Source
Handle(MemberDeletingNotification)
Declaration
public void Handle(MemberDeletingNotification notification)
Parameters
View Source
Handle(MemberRefreshNotification)
Declaration
public void Handle(MemberRefreshNotification notification)
Parameters
View Source
Handle(MemberTypeRefreshedNotification)
Declaration
public void Handle(MemberTypeRefreshedNotification notification)
Parameters
View Source
Handle(ScopedEntityRemoveNotification)
Declaration
public void Handle(ScopedEntityRemoveNotification notification)
Parameters