 | ContainerHelperCopy Method (Object, IGraph, IDictionaryObject, Object) |
Creates a deep copy of the given container.
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static Object Copy(
Object oldContainer,
IGraph graph,
IDictionary<Object, Object> oldToNewObjects
)
Parameters
- oldContainer
- Type: SystemObject
The container to copy. - graph
- Type: de.unika.ipd.grGen.libGrIGraph
The graph to fetch the names of the new objects from. - oldToNewObjects
- Type: System.Collections.GenericIDictionaryObject, Object
A dictionary mapping objects to their copies, to be supplied as empty dictionary.
Return Value
Type:
ObjectA deep copy of the container
See Also