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.

C#
public RuleSetDialog (System.Workflow.ComponentModel.Activity activity, System.Workflow.Activities.Rules.RuleSet 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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

RuleSetDialog(Type, ITypeProvider, RuleSet)

Initializes a new instance of the RuleSetDialog class.

C#
public RuleSetDialog (Type activityType, System.Workflow.ComponentModel.Compiler.ITypeProvider typeProvider, System.Workflow.Activities.Rules.RuleSet 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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1