RuleExpressionCondition Class

Definition

Defines the condition definition behind a RuleConditionReference. This class cannot be inherited.

public ref class RuleExpressionCondition sealed : System::Workflow::Activities::Rules::RuleCondition
[System.Serializable]
public sealed class RuleExpressionCondition : System.Workflow.Activities.Rules.RuleCondition
type RuleExpressionCondition = class
    inherit RuleCondition
Public NotInheritable Class RuleExpressionCondition
Inherits RuleCondition
Inheritance
RuleExpressionCondition
Attributes

Remarks

The RuleExpressionCondition class defines the base conditions evaluated when a RuleSet is executed.

This condition type is modeled with CodeDom types. For more information about CodeDom types, see CodeDOM Types Supported by Windows Workflow Foundation.

Constructors

RuleExpressionCondition()

Initializes a new instance of the RuleExpressionCondition class.

RuleExpressionCondition(CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified code expression.

RuleExpressionCondition(String)

Initializes a new instance of the RuleExpressionCondition class by using a specified name.

RuleExpressionCondition(String, CodeExpression)

Initializes a new instance of the RuleExpressionCondition class by using a specified name and code expression.

Properties

Expression

Gets or sets the expression condition to evaluate.

Name

Gets or sets the name of the condition to evaluate.

Methods

Clone()

Creates a deep copy of the current RuleExpressionCondition.

Equals(Object)

Determines whether two object instances are equal.

Evaluate(RuleExecution)

Evaluates the expression.

GetDependencies(RuleValidation)

Gets the dependencies for the RuleExpressionCondition.

GetHashCode()

Returns the hash code for this instance.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnRuntimeInitialized()

Called when all properties have been given values.

ToString()

Returns the string value of the expression condition.

Validate(RuleValidation)

Verifies that the expression is configured correctly and has no errors.

Applies to