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: 10.8.0
Syntax
public class ContentEventHandler

Constructors

ContentEventHandler(IContentEvents, ISynchronizedObjectInstanceCache)

Declaration
[Obsolete("This contructor is no longer used, instead use the contructor with IContentCacheKeyCreator. This constructor remain at least until April 2017.")]
public ContentEventHandler(IContentEvents contentEvents, ISynchronizedObjectInstanceCache synchronizedObjectInstanceCache)
Parameters
Type Name Description
EPiServer.Core.IContentEvents contentEvents
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache synchronizedObjectInstanceCache

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