Redigera

Dela via


RuleCondition Class

Definition

Base type for RuleExpressionCondition and any custom conditions created by users.

public ref class RuleCondition abstract
[System.Serializable]
public abstract class RuleCondition
[<System.Serializable>]
type RuleCondition = class
Public MustInherit Class RuleCondition
Inheritance
RuleCondition
Derived
Attributes

Constructors

RuleCondition()

When implemented in a derived class, initializes a new instance of the RuleCondition class.

Properties

Name

Gets or sets the name of the RuleCondition.

Methods

Clone()

When overridden in a derived class, creates a deep copy of the current RuleCondition.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Evaluate(RuleExecution)

When overridden in a derived class, evaluates the RuleCondition.

GetDependencies(RuleValidation)

When overridden in a derived class, gets the dependencies for the RuleCondition.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
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. After this call, no properties can be modified.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(RuleValidation)

When overridden in a derived class, verifies that the RuleCondition is configured correctly and has no errors.

Applies to

See also