Click or drag to resize

IGraphModelArrayKeepOneForEach Method

Keeps the array members with distinct values in the given member / removes duplicates. The array must be of node or edge type, i.e. of a graph element type of this model object.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IList ArrayKeepOneForEach(
	IList array,
	string member
)

Parameters

array
Type: System.CollectionsIList
The array to remove duplicates from
member
Type: SystemString
The member to check for duplicates

Return Value

Type: IList
The array freed from duplicates in the member or null if the array was not processed because the array did not contain one of the known nodes/edges or the member attribute was not known.
See Also