Click or drag to resize

IObjectCopy Method

Creates a deep copy of this object (i.e. (transient) class objects will be replicated). All attributes will be transfered to the new object. A new name will be fetched from the graph.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IObject Copy(
	IGraph graph,
	IDictionary<Object, Object> oldToNewObjectMap
)

Parameters

graph
Type: de.unika.ipd.grGen.libGrIGraph
The graph to fetch the names of the new objects from.
oldToNewObjectMap
Type: System.Collections.GenericIDictionaryObject, Object
A dictionary mapping objects to their copies, to be supplied as empty dictionary.

Return Value

Type: IObject
A copy of this object.
See Also