Click or drag to resize

IActionApplyAll Method (Int32, IActionExecutionEnvironment)

Tries to apply this rule to all occurrences in the current graph of the graph processing environment "at once". Only applicable for parameterless rules. Shows better performance than the normal ApplyAll called without parameters. No Matched/Finished events are triggered by this function (needed for visual debugging).

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
List<Object[]> ApplyAll(
	int maxMatches,
	IActionExecutionEnvironment actionEnv
)

Parameters

maxMatches
Type: SystemInt32
The maximum number of matches to be rewritten.
actionEnv
Type: de.unika.ipd.grGen.libGrIActionExecutionEnvironment
The action execution environment, esp. giving access to the host graph.

Return Value

Type: ListObject
A list of arrays of objects (the arrays may be empty) returned by the last application of the rule, which is only valid until the next graph rewrite with this rule, or null, if no match was found.
See Also