Click or drag to resize

IRuleLoadSpec Interface

Fluent specification to load rule definitions via reflection.

Namespace:  NRules.Fluent
Assembly:  NRules.Fluent (in NRules.Fluent.dll) Version: 0.8.4
Syntax
C#
public interface IRuleLoadSpec

The IRuleLoadSpec type exposes the following members.

Methods
  NameDescription
Public methodFrom(IEnumerableAssembly)
Specifies to load all rule definitions from a given collection of assemblies.
Public methodFrom(IEnumerableType)
Specifies to load rule definitions from a given collection of types.
Public methodFrom(Assembly)
Specifies to load all rule definitions from a given collection of assemblies.
Public methodFrom(Type)
Specifies to load rule definitions from a given collection of types.
Public methodFrom(ActionIRuleTypeScanner)
Specifies to load rule definitions by scanning types/assemblies.
Public methodNestedTypes
Enables/disables discovery of nested rule classes. Default is off.
Public methodPrivateTypes
Enables/disables discovery of private rule classes. Default is off.
Public methodTo
Specifies the name of the rule set where the rules are loaded to. If not provided, loads rules into default rule set.
Public methodWhere
Specifies which rules to load by filtering on rule's metadata.
Top
See Also