Table of Contents

Class DataDefinitionItemChangeHandler

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Data definition item change handler

public class DataDefinitionItemChangeHandler : AdvancedHandler<DataDefinitionItemChangeHandler, DataDefinitionItemChangeEventArgs>
Inheritance
object
DataDefinitionItemChangeHandler
Inherited Members
Extension Methods

Methods

Start(DataClassInfo, IDataDefinitionItem, IDataDefinitionItem)

Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.

public IAdvancedEventHandle<DataDefinitionItemChangeEventArgs> Start(DataClassInfo classInfo, IDataDefinitionItem originalItem, IDataDefinitionItem item)

Parameters

classInfo DataClassInfo

Data class info.

originalItem IDataDefinitionItem

Original data item.

item IDataDefinitionItem

Current data item.

Returns

IAdvancedEventHandle<DataDefinitionItemChangeEventArgs>

Returns a handle for completing the event.

StartEvent(DataClassInfo, IDataDefinitionItem, IDataDefinitionItem)

Initiates the event handling

[Obsolete("Use Start(DataClassInfo, IDataDefinitionItem, IDataDefinitionItem) instead.")]
[ObsoleteSince(30, 2)]
public DataDefinitionItemChangeHandler StartEvent(DataClassInfo classInfo, IDataDefinitionItem originalItem, IDataDefinitionItem item)

Parameters

classInfo DataClassInfo

Data class info

originalItem IDataDefinitionItem

Original data item

item IDataDefinitionItem

Current data item

Returns

DataDefinitionItemChangeHandler