RuleExpressionWalker.AnalyzeUsage 方法

定义

标识由表达式使用的字段和属性并将它们作为符号添加到 RuleAnalysis 实例。

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)

参数

analysis
RuleAnalysis

存储表示由规则条件和操作使用的属性和字段的符号的 RuleAnalysis 实例。

expression
CodeExpression

正在执行的表达式。

isRead
Boolean

如果要将 true 读取的字段和属性添加到 RuleAction,则为 RuleAnalysis;否则为 false

isWritten
Boolean

如果要将 true 写入的字段和属性添加到 RuleAction,则为 RuleAnalysis;否则为 false

qualifier
RulePathQualifier

到目前为止确定的字段或属性的路径。

例外

analysis 为空引用(在 Visual Basic 中为 Nothing)。

适用于