RuleSet RuleSet RuleSet RuleSet Class

Definition

Contains a collection of Rule classes along with the semantics for forward-chaining execution of those rules. A RuleSet can be executed directly in code or using the PolicyActivity activity.

public ref class RuleSet
[System.Serializable]
public class RuleSet
type RuleSet = class
Public Class RuleSet
Inheritance
RuleSetRuleSetRuleSetRuleSet
Attributes

Constructors

RuleSet() RuleSet() RuleSet() RuleSet()

Initializes a new instance of the RuleSet class.

RuleSet(String) RuleSet(String) RuleSet(String) RuleSet(String)

Initializes a new instance of the RuleSet class by using the name of the RuleSet.

RuleSet(String, String) RuleSet(String, String) RuleSet(String, String) RuleSet(String, String)

Initializes a new instance of the RuleSet class by using the name and description of the RuleSet.

Properties

ChainingBehavior ChainingBehavior ChainingBehavior ChainingBehavior

Gets or sets the forward chaining behavior for the Rule classes in the RuleSet.

Description Description Description Description

Gets or sets a description of the RuleSet.

Name Name Name Name

Gets or sets the name of the RuleSet.

Rules Rules Rules Rules

Gets a list of Rule classes in the RuleSet.

Methods

Clone() Clone() Clone() Clone()

Creates a deep copy of the current RuleSet.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether two object instances are equal.

Execute(RuleExecution) Execute(RuleExecution) Execute(RuleExecution) Execute(RuleExecution)

Evaluates the Rule instances in the RuleSet.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(RuleValidation) Validate(RuleValidation) Validate(RuleValidation) Validate(RuleValidation)

Validates the RuleSet attributes and the Rule classes in the RuleSet.

Applies to

See also