Click or drag to resize

IActionApply(IActionExecutionEnvironment, Object) Method

Tries to apply this rule to the given processing environment/its current graph once. No Matched/Finished events are triggered by this function (needed for visual debugging). The null parameter check is omitted also.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
Object[] Apply(
	IActionExecutionEnvironment actionEnv,
	params Object[] parameters
)

Parameters

actionEnv  IActionExecutionEnvironment
The action execution environment, esp. giving access to the host graph.
parameters  Object
An array of parameters (nodes, edges, values) of the types specified by RulePattern.Inputs. The array must contain at least RulePattern.Inputs.Length elements.

Return Value

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