Click or drag to resize

ContainerHelperNewDictionary(Type, Type, Object) Method

Creates a new dictionary of the given key type and value type, initialized with the content of the old dictionary (clones the old dictionary)

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public static IDictionary NewDictionary(
	Type keyType,
	Type valueType,
	Object oldDictionary
)

Parameters

keyType  Type
The key type of the dictionary to be created
valueType  Type
The value type of the dictionary to be created
oldDictionary  Object
The old dictionary to be cloned

Return Value

IDictionary
The newly created dictionary, containing the content of the old dictionary, null if unsuccessfull
See Also