Click or drag to resize

LGSPTransientObjectCopy Method

Creates a deep copy of this transient object (i.e. (transient) class objects will be replicated). All attributes will be transferred to the new object.

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

Parameters

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

Return Value

Type: ITransientObject
A copy of this object.

Implements

ITransientObjectCopy(IGraph, IDictionaryObject, Object)
See Also