Upraviť

Zdieľať cez


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
[<System.Serializable>]
type RuleSet = class
Public Class RuleSet
Inheritance
RuleSet
Attributes

Constructors

RuleSet()

Initializes a new instance of the RuleSet class.

RuleSet(String)

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

RuleSet(String, String)

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

Properties

ChainingBehavior

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

Description

Gets or sets a description of the RuleSet.

Name

Gets or sets the name of the RuleSet.

Rules

Gets a list of Rule classes in the RuleSet.

Methods

Clone()

Creates a deep copy of the current RuleSet.

Equals(Object)

Determines whether two object instances are equal.

Execute(RuleExecution)

Evaluates the Rule instances in the RuleSet.

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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(RuleValidation)

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

Applies to

See also