SaaS CMS has officially launched! Learn more now.

Class ContentEventHandler

Inheritance
System.Object
ContentEventHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 11.8.3
Syntax
public class ContentEventHandler

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()