編輯

共用方式為


CodeCondition.Evaluate(Activity, IServiceProvider) Method

Definition

Evaluates the underlying condition.

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

Parameters

ownerActivity
Activity

The Activity associated with this condition.

provider
IServiceProvider

The IServiceProvider for this condition evaluation.

Returns

true if the condition evaluates to true; otherwise, false. The default is false.

Applies to