Class RuleDefinitionFactory
Creates instances of IRuleDefinition from the fluent DSL Rule instances.
public class RuleDefinitionFactory
- Inheritance
-
RuleDefinitionFactory
- Inherited Members
Methods
Create(Rule)
Creates a IRuleDefinition for an instance of a fluent DSL Rule.
public IRuleDefinition Create(Rule rule)
Parameters
Returns
- IRuleDefinition
Corresponding instance of IRuleDefinition.
Create(IEnumerable<Rule>)
Creates instances of IRuleDefinition from the fluent DSL Rule instances.
public IEnumerable<IRuleDefinition> Create(IEnumerable<Rule> rules)
Parameters
rules
IEnumerable<Rule>Fluent DSL Rule instances.
Returns
- IEnumerable<IRuleDefinition>
Corresponding instances of IRuleDefinition.