 | EmitHelperToString Method (IDictionary, AttributeChangeType, Object, Object, String, String, AttributeType, IGraph) |
Returns a string representation of the given dictionary
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(
IDictionary setmap,
AttributeChangeType changeType,
Object newValue,
Object keyValue,
out string type,
out string content,
AttributeType attrType,
IGraph graph
)
Parameters
- setmap
- Type: System.CollectionsIDictionary
The base dictionary of the operation - changeType
- Type: de.unika.ipd.grGen.libGrAttributeChangeType
The type of the change operation - 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. - keyValue
- Type: SystemObject
The map pair key to be inserted/removed if changeType==PutElement/RemoveElement on map. - type
- Type: SystemString
The type as string, e.g set<int> or map<string,boolean> - content
- Type: SystemString
The content as string, e.g. { 42, 43 } or { "foo"->true, "bar"->false } - attrType
- Type: de.unika.ipd.grGen.libGrAttributeType
The attribute type of the dictionary - graph
- Type: de.unika.ipd.grGen.libGrIGraph
The graph with the model and the element names
See Also