Click or drag to resize

EmitHelperToString(IList, AttributeChangeType, Object, Object, String, String, AttributeType, IGraph) Method

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.1
Syntax
C#
public static void ToString(
	IList array,
	AttributeChangeType changeType,
	Object newValue,
	Object keyValue,
	out string type,
	out string content,
	AttributeType attrType,
	IGraph graph
)

Parameters

array  IList
The base List of the operation
changeType  AttributeChangeType
The type of the change operation
newValue  Object
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 array index to be removed/written to if changeType==RemoveElement/AssignElement on array.
type  String
The type as string, e.g array<int>
content  String
The content as string, e.g. [ 42, 43 ]
attrType  AttributeType
The attribute type of the List
graph  IGraph
The graph with the model and the element names
See Also