 | EmitHelperToString Method (IList, AttributeChangeType, Object, Object, String, String, AttributeType, IGraph) |
Returns a string representation of the given List
after the given operation with the given parameters was applied
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static void ToString(
IList array,
AttributeChangeType changeType,
Object newValue,
Object keyValue,
out string type,
out string content,
AttributeType attrType,
IGraph graph
)
Parameters
- array
- Type: System.CollectionsIList
The base List of the operation - changeType
- Type: de.unika.ipd.grGen.libGrAttributeChangeType
The type of the change operation - newValue
- Type: SystemObject
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 array index to be removed/written to if changeType==RemoveElement/AssignElement on array. - type
- Type: SystemString
The type as string, e.g array<int> - content
- Type: SystemString
The content as string, e.g. [ 42, 43 ] - attrType
- Type: de.unika.ipd.grGen.libGrAttributeType
The attribute type of the List - graph
- Type: de.unika.ipd.grGen.libGrIGraph
The graph with the model and the element names
See Also