 | ContainerHelperMappingClone(Object, IDictionaryIGraphElement, IGraphElement) Method |
Creates a shallow clone of the given container, mapping the contained elements according to the input new to old elements map
(clones a container, transplanting contained graph elements from an old to a new graph).
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static Object MappingClone(
Object oldContainer,
IDictionary<IGraphElement, IGraphElement> oldToNewElements
)
Parameters
- oldContainer Object
- The container to clone.
- oldToNewElements IDictionaryIGraphElement, IGraphElement
- A map from old elements of an old graph to their clones, i.e. new elements in a new graph.
Return Value
ObjectA shallow clone of the container
See Also