Click or drag to resize

IActionApply Method (IActionExecutionEnvironment)

Tries to apply this rule to the given graph processing environment/its current graph once. Only applicable for parameterless rules. Shows better performance than the normal Apply 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 5.0
Syntax
C#
Object[] Apply(
	IActionExecutionEnvironment actionEnv
)

Parameters

actionEnv
Type: de.unika.ipd.grGen.libGrIActionExecutionEnvironment
The action execution environment, esp. giving access to the host graph.

Return Value

Type: Object
A possibly empty array of objects returned by the rule, which is only valid until the next graph rewrite with this rule, or null, if no match was found.
See Also