Redigera

Dela via


RuleSetDialog Constructors

Definition

Initializes a new instance of the RuleSetDialog class.

Overloads

RuleSetDialog(Activity, RuleSet)

Initializes a new instance of the RuleSetDialog class.

RuleSetDialog(Type, ITypeProvider, RuleSet)

Initializes a new instance of the RuleSetDialog class.

RuleSetDialog(Activity, RuleSet)

Initializes a new instance of the RuleSetDialog class.

public:
 RuleSetDialog(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::Activities::Rules::RuleSet ^ ruleSet);
public RuleSetDialog (System.Workflow.ComponentModel.Activity activity, System.Workflow.Activities.Rules.RuleSet ruleSet);
new System.Workflow.Activities.Rules.Design.RuleSetDialog : System.Workflow.ComponentModel.Activity * System.Workflow.Activities.Rules.RuleSet -> System.Workflow.Activities.Rules.Design.RuleSetDialog
Public Sub New (activity As Activity, ruleSet As RuleSet)

Parameters

activity
Activity

The Activity that this RuleSet is executed against. Typically it is the workflow (as used by PolicyActivity), but it can be any valid activity.

ruleSet
RuleSet

The initial RuleSet to be displayed.

Applies to

RuleSetDialog(Type, ITypeProvider, RuleSet)

Initializes a new instance of the RuleSetDialog class.

public:
 RuleSetDialog(Type ^ activityType, System::Workflow::ComponentModel::Compiler::ITypeProvider ^ typeProvider, System::Workflow::Activities::Rules::RuleSet ^ ruleSet);
public RuleSetDialog (Type activityType, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, System.Workflow.Activities.Rules.RuleSet ruleSet);
new System.Workflow.Activities.Rules.Design.RuleSetDialog : Type * System.Workflow.ComponentModel.Compiler.ITypeProvider * System.Workflow.Activities.Rules.RuleSet -> System.Workflow.Activities.Rules.Design.RuleSetDialog
Public Sub New (activityType As Type, typeProvider As ITypeProvider, ruleSet As RuleSet)

Parameters

activityType
Type

The type of the object that this condition is executed against. Normally it is the workflow, but can be any valid type.

typeProvider
ITypeProvider

An optional ITypeProvider implementation that is used to determine what Types are available in the condition. If one is not specified, only types in the assembly specified by activityType and any assemblies it references are available.

ruleSet
RuleSet

The initial RuleSet to be displayed.

Applies to