Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ContentEventHandler

Inheritance
System.Object
ContentEventHandler
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class ContentEventHandler : Object

Constructors

ContentEventHandler(IContentEvents, ISynchronizedObjectInstanceCache, IContentCacheKeyCreator)

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code. Initializes a new instance of the ContentEventHandler class.

Declaration
public ContentEventHandler(IContentEvents contentEvents, ISynchronizedObjectInstanceCache synchronizedObjectInstanceCache, IContentCacheKeyCreator contentCacheKeyCreator)
Parameters
Type Name Description
EPiServer.Core.IContentEvents contentEvents

The content events to handle.

EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache synchronizedObjectInstanceCache

The object instance cache.

EPiServer.Core.IContentCacheKeyCreator contentCacheKeyCreator

Handles generation of Cache keys.

Methods

Initialize()

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Initializes event handlers for the events in EPiServer.Core.IContentEvents.

Declaration
public virtual void Initialize()

UnInitialize()

Declaration
public virtual void UnInitialize()