Class DataDefinitionItemChangeHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Data definition item change handler
public class DataDefinitionItemChangeHandler : AdvancedHandler<DataDefinitionItemChangeHandler, DataDefinitionItemChangeEventArgs>
- Inheritance
-
objectDataDefinitionItemChangeHandler
- 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
DataClassInfoData class info.
originalItem
IDataDefinitionItemOriginal data item.
item
IDataDefinitionItemCurrent 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
DataClassInfoData class info
originalItem
IDataDefinitionItemOriginal data item
item
IDataDefinitionItemCurrent data item