 | ChangingEdgeAttributeHandler Delegate |
Represents a method called just before an edge 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.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic delegate void ChangingEdgeAttributeHandler(
IEdge edge,
AttributeType attrType,
AttributeChangeType changeType,
Object newValue,
Object keyValue
)
Parameters
- edge IEdge
- The edge whose attribute is to be changed.
- attrType AttributeType
- The type of the attribute to be changed.
- changeType AttributeChangeType
- The type of the change which will be made.
- newValue Object
- 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 Object
- 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