Class MetaDataChangeEventHandler
Inheritance
Inherited Members
Namespace: EPiServer.Commerce.Catalog.Provider
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class MetaDataChangeEventHandler
Constructors
MetaDataChangeEventHandler(MetaDataPropertyResolver, PropertyDefinitionSynchronizer, ContentTypeModelRepository, IContentTypeRepository)
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("Dependencies have changed, use other constructor instead. Will remain at least until November 2016.", true)]
public MetaDataChangeEventHandler(MetaDataPropertyResolver metaDataPropertyResolver, PropertyDefinitionSynchronizer propertyDefinitionSynchronizer, ContentTypeModelRepository contentTypeModelRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
MetaDataPropertyResolver | metaDataPropertyResolver | The meta data property mapper. |
EPiServer.DataAbstraction.RuntimeModel.Internal.PropertyDefinitionSynchronizer | propertyDefinitionSynchronizer | The property definition synchronizer. |
EPiServer.DataAbstraction.ContentTypeModelRepository | contentTypeModelRepository | The content type model repository. |
EPiServer.DataAbstraction.IContentTypeRepository | contentTypeRepository | The content type repository. |
MetaDataChangeEventHandler(MetaDataPropertyResolver, PropertyDefinitionSynchronizer, ContentTypeModelRepository, IContentTypeRepository, IPropertyDefinitionRepository)
Declaration
[Obsolete("Use overload with IPropertyDefinitionTypeResolver. Will remain at least until September 2017.")]
public MetaDataChangeEventHandler(MetaDataPropertyResolver metaDataPropertyResolver, PropertyDefinitionSynchronizer propertyDefinitionSynchronizer, ContentTypeModelRepository contentTypeModelRepository, IContentTypeRepository contentTypeRepository, IPropertyDefinitionRepository propertyDefinitionRepository)
Parameters
Type | Name | Description |
---|---|---|
MetaDataPropertyResolver | metaDataPropertyResolver | |
EPiServer.DataAbstraction.RuntimeModel.Internal.PropertyDefinitionSynchronizer | propertyDefinitionSynchronizer | |
EPiServer.DataAbstraction.ContentTypeModelRepository | contentTypeModelRepository | |
EPiServer.DataAbstraction.IContentTypeRepository | contentTypeRepository | |
EPiServer.DataAbstraction.IPropertyDefinitionRepository | propertyDefinitionRepository |
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
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(MetaDataPropertyMapper, PropertyDefinitionSynchronizer, ContentTypeModelRepository, IContentTypeRepository)
Obsolete constructor kept to be binary compatible. This class should not be instantiated by 3rd party code anyway.
Declaration
[Obsolete("Dependencies have changed, use other constructor instead. Will remain at least until November 2016.", true)]
public MetaDataChangeEventHandler(MetaDataPropertyMapper metaDataPropertyMapper, PropertyDefinitionSynchronizer propertyDefinitionSynchronizer, ContentTypeModelRepository contentTypeModelRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
MetaDataPropertyMapper | metaDataPropertyMapper | |
EPiServer.DataAbstraction.RuntimeModel.Internal.PropertyDefinitionSynchronizer | propertyDefinitionSynchronizer | |
EPiServer.DataAbstraction.ContentTypeModelRepository | contentTypeModelRepository | |
EPiServer.DataAbstraction.IContentTypeRepository | contentTypeRepository |
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()