RuleConditionDialog Constructor (Type^, ITypeProvider^, CodeExpression^)

 

Initializes a new instance of the RuleConditionDialog class with the specified activity type, the type provider, and the expression.

Namespace:   System.Workflow.Activities.Rules.Design
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public:
RuleConditionDialog(
	Type^ activityType,
	ITypeProvider^ typeProvider,
	CodeExpression^ expression
)

Parameters

activityType
Type: System::Type^

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

typeProvider
Type: System.Workflow.ComponentModel.Compiler::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 is available.

expression
Type: System.CodeDom::CodeExpression^

The initial CodeExpression to be displayed.

.NET Framework
Available since 3.0
Return to top
Show: