CodeCondition.Evaluate(Activity, IServiceProvider) 方法

定义

计算基础条件。

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

参数

ownerActivity
Activity

与此条件关联的 Activity

provider
IServiceProvider

用于此条件计算的 IServiceProvider

返回

Boolean

如果条件的计算结果为 true,则为 true;否则为 false。 默认值为 false

适用于