共用方式為


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

傳回

Boolean

如果條件評估為 true,則為 true,否則為 false

適用於