ActivityCondition.Evaluate(Activity, IServiceProvider) ActivityCondition.Evaluate(Activity, IServiceProvider) ActivityCondition.Evaluate(Activity, IServiceProvider) Method

定義

評估基礎條件。Evaluates the underlying condition.

public:
 abstract bool Evaluate(System::Workflow::ComponentModel::Activity ^ activity, IServiceProvider ^ provider);
public abstract bool Evaluate (System.Workflow.ComponentModel.Activity activity, IServiceProvider provider);
abstract member Evaluate : System.Workflow.ComponentModel.Activity * IServiceProvider -> bool

參數

activity
Activity Activity Activity

與這個條件相關聯的 ActivityThe Activity associated with this condition.

provider
IServiceProvider IServiceProvider IServiceProvider

用於此條件評估的 IServiceProviderThe IServiceProvider for this condition evaluation.

傳回

Boolean,因評估基礎運算式而產生。The Boolean resulting from evaluating the underlying expression.

適用於