Muokkaa

Jaa


RuleExpressionWalker.AnalyzeUsage Method

Definition

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

public:
 static void AnalyzeUsage(System::Workflow::Activities::Rules::RuleAnalysis ^ analysis, System::CodeDom::CodeExpression ^ expression, bool isRead, bool isWritten, System::Workflow::Activities::Rules::RulePathQualifier ^ qualifier);
public static void AnalyzeUsage (System.Workflow.Activities.Rules.RuleAnalysis analysis, System.CodeDom.CodeExpression expression, bool isRead, bool isWritten, System.Workflow.Activities.Rules.RulePathQualifier qualifier);
static member AnalyzeUsage : System.Workflow.Activities.Rules.RuleAnalysis * System.CodeDom.CodeExpression * bool * bool * System.Workflow.Activities.Rules.RulePathQualifier -> unit
Public Shared Sub AnalyzeUsage (analysis As RuleAnalysis, expression As CodeExpression, isRead As Boolean, isWritten As Boolean, qualifier As RulePathQualifier)

Parameters

analysis
RuleAnalysis

The RuleAnalysis instance that stores symbols representing the properties and fields used by rule conditions and actions.

expression
CodeExpression

The expression being executed.

isRead
Boolean

true if fields and properties read by a RuleAction are to be added to RuleAnalysis; otherwise, false.

isWritten
Boolean

true if fields and properties written by a RuleAction are to be added to RuleAnalysis; otherwise, false.

qualifier
RulePathQualifier

The path of a field or property determined up to this point.

Exceptions

analysis is a null reference (Nothing in Visual Basic).

Applies to