RuleExpressionWalker Class


Propagates the current behavior in the expression to child nodes. This class cannot be inherited.

Namespace:   System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)


public static class RuleExpressionWalker

System_CAPS_pubmethodSystem_CAPS_staticAnalyzeUsage(RuleAnalysis, CodeExpression, Boolean, Boolean, RulePathQualifier)

Identifies the fields and properties used by an expression and adds these as symbols to the RuleAnalysis instance.


Creates a deep copy of the child nodes of the current CodeExpression.

System_CAPS_pubmethodSystem_CAPS_staticDecompile(StringBuilder, CodeExpression, CodeExpression)

Decompiles the child nodes of the expression into string form.

System_CAPS_pubmethodSystem_CAPS_staticEvaluate(RuleExecution, CodeExpression)

Evaluates the expression and all child expressions.

System_CAPS_pubmethodSystem_CAPS_staticMatch(CodeExpression, CodeExpression)

Compares the current expression and child nodes to another expression to determine whether they are equal.

System_CAPS_pubmethodSystem_CAPS_staticValidate(RuleValidation, CodeExpression, Boolean)

Verifies that the expression and child nodes are configured correctly and has no errors.

This class is used by all IRuleExpression methods to propagate behavior to child nodes.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top