Table of Contents

Class RuleSet

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll

Default implementation of a rule set.

public class RuleSet : IRuleSet
Inheritance
RuleSet
Implements
Inherited Members
Extension Methods

Constructors

RuleSet(string)

public RuleSet(string name)

Parameters

name string

Properties

Name

Rule set name.

public string Name { get; }

Property Value

string

Rules

Rules in the rule set.

public IEnumerable<IRuleDefinition> Rules { get; }

Property Value

IEnumerable<IRuleDefinition>

Methods

Add(IEnumerable<IRuleDefinition>)

Adds rules to the rule set.

public void Add(IEnumerable<IRuleDefinition> ruleDefinitions)

Parameters

ruleDefinitions IEnumerable<IRuleDefinition>

Rule definitions to add.