Click or drag to resize

ContainerHelperCopy(Object, IGraph, IDictionaryObject, Object) Method

Creates a deep copy of the given container.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public static Object Copy(
	Object oldContainer,
	IGraph graph,
	IDictionary<Object, Object> oldToNewObjects
)

Parameters

oldContainer  Object
The container to copy.
graph  IGraph
The graph to fetch the names of the new objects from.
oldToNewObjects  IDictionaryObject, Object
A dictionary mapping objects to their copies, to be supplied as empty dictionary.

Return Value

Object
A deep copy of the container
See Also