RuleConditionReference.Evaluate(Activity, IServiceProvider) 方法

定义

计算基础 RuleCondition

public:
 override bool Evaluate(System::Workflow::ComponentModel::Activity ^ activity, IServiceProvider ^ provider);
public override bool Evaluate (System.Workflow.ComponentModel.Activity activity, IServiceProvider provider);
override this.Evaluate : System.Workflow.ComponentModel.Activity * IServiceProvider -> bool
Public Overrides Function Evaluate (activity As Activity, provider As IServiceProvider) As Boolean

参数

activity
Activity

与此条件关联的 Activity

provider
IServiceProvider

用于此条件计算的 IServiceProvider

返回

如果条件的计算结果为 true,则为 true;否则为 false

适用于