November Happy Hour will be moved to Thursday December 5th.

Class MetaDataChangeEventHandler

Inheritance
System.Object
MetaDataChangeEventHandler
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: 13.30.0
Syntax
public class MetaDataChangeEventHandler

Constructors

MetaDataChangeEventHandler(MetaDataPropertyResolver, IPropertyDefinitionTypeResolver, ContentTypeModelRepository, IContentTypeRepository, IPropertyDefinitionRepository)

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

Declaration
[Obsolete("This constructor is no longer used. Using the one without MetaDataPropertyResolver and IPropertyDefinitionTypeResolver instead. This will be removed in the next major version.")]
public MetaDataChangeEventHandler(MetaDataPropertyResolver metaDataPropertyResolver, IPropertyDefinitionTypeResolver propertyDefinitionSynchronizer, ContentTypeModelRepository contentTypeModelRepository, IContentTypeRepository contentTypeRepository, IPropertyDefinitionRepository propertyDefinitionRepository)
Parameters
Type Name Description
MetaDataPropertyResolver metaDataPropertyResolver

The meta data property mapper.

EPiServer.DataAbstraction.RuntimeModel.IPropertyDefinitionTypeResolver propertyDefinitionSynchronizer

The property definition synchronizer.

EPiServer.DataAbstraction.ContentTypeModelRepository contentTypeModelRepository

The content type model repository.

EPiServer.DataAbstraction.IContentTypeRepository contentTypeRepository

The content type repository.

EPiServer.DataAbstraction.IPropertyDefinitionRepository propertyDefinitionRepository

The property definition repository.

MetaDataChangeEventHandler(ContentTypeModelRepository, IContentTypeRepository, IPropertyDefinitionRepository)

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

Declaration
public MetaDataChangeEventHandler(ContentTypeModelRepository contentTypeModelRepository, IContentTypeRepository contentTypeRepository, IPropertyDefinitionRepository propertyDefinitionRepository)
Parameters
Type Name Description
EPiServer.DataAbstraction.ContentTypeModelRepository contentTypeModelRepository

The content type model repository.

EPiServer.DataAbstraction.IContentTypeRepository contentTypeRepository

The content type repository.

EPiServer.DataAbstraction.IPropertyDefinitionRepository propertyDefinitionRepository

The property definition repository.

Properties

AlreadyInitialized

Gets flag to indicate whether this handler was initialized or not.

Declaration
public bool AlreadyInitialized { get; }
Property Value
Type Description
System.Boolean

Methods

InitializeEvents()

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 MetaDataEventManager and EventContext.

Declaration
public virtual void InitializeEvents()