Click or drag to resize

ChangingObjectAttributeHandler Delegate

Represents a method called just before an object attribute is changed, with exact information about the change to occur, to allow rollback of changes, in case a transaction is underway.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public delegate void ChangingObjectAttributeHandler(
	IObject obj,
	AttributeType attrType,
	AttributeChangeType changeType,
	Object newValue,
	Object keyValue
)

Parameters

obj
Type: de.unika.ipd.grGen.libGrIObject
The object whose attribute is to be changed.
attrType
Type: de.unika.ipd.grGen.libGrAttributeType
The type of the attribute to be changed.
changeType
Type: de.unika.ipd.grGen.libGrAttributeChangeType
The type of the change which will be made.
newValue
Type: SystemObject
The new value of the attribute, if changeType==Assign. Or the value to be inserted/removed if changeType==PutElement/RemoveElement on set. Or the new map pair value to be inserted if changeType==PutElement on map. Or the new value to be inserted/added if changeType==PutElement on array. Or the new value to be assigned to the given position if changeType==AssignElement on array.
keyValue
Type: SystemObject
The map pair key to be inserted/removed if changeType==PutElement/RemoveElement on map. The array index to be removed/written to if changeType==RemoveElement/AssignElement on array.
See Also