Click or drag to resize

RuleBuilder Class

Builder to compose a rule definition. Contains methods to specify rule's metadata, as well as create child builders for rule's left-hand side and right-hand side. Creates IRuleDefinition.
Inheritance Hierarchy
SystemObject
  NRules.RuleModel.BuildersRuleBuilder

Namespace:  NRules.RuleModel.Builders
Assembly:  NRules.RuleModel (in NRules.RuleModel.dll) Version: 0.8.4
Syntax
C#
public class RuleBuilder

The RuleBuilder type exposes the following members.

Constructors
  NameDescription
Public methodRuleBuilder
Constructs an empty rule builder.
Top
Methods
  NameDescription
Public methodBuild
Creates rule definition using current state of the builder.
Public methodDependencies
Retrieves dependencies builder.
Public methodDescription
Sets rule's description.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFilters
Retrieves filters builder.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLeftHandSide
Retrieves left hand side builder (conditions).
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodName
Sets rule's name.
Public methodPriority
Sets rule's priority. Default priority is 0.
Public methodProperties
Adds rule's properties.
Public methodProperty
Adds rule's property.
Public methodRepeatability
Sets rule's repeatability. Default repeatability is Repeatable.
Public methodRightHandSide
Retrieves right hand side builder (actions).
Public methodTag
Adds rule's tag.
Public methodTags
Adds rule's tags.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Thread Safety
Instance members of this type are not safe for multi-threaded operations.
See Also