Click or drag to resize

IActionsArrayKeepOneForEach Method

Keeps the array members with distinct values in the given member / removes duplicates. The array must be of match type, of a match of one of the actions in this actions object, or one of the match classes in this actions object.

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

Parameters

array  IList
The array to remove duplicates from
member  String
The member to check for duplicates

Return Value

IList
The array freed from duplicates in the member or null if the array was not processed because the array did not contain matches of the known rules/tests or match classes, or the member was not known.
See Also