Usage
-
Switch(DocumentConfig value)Defines the delegate that will be invoked against each input document to get the case comparison value.
valueA delegate that returns an object to compare cases against.
Fluent Methods
Chain these methods together after the constructor to modify behavior.
-
Case(Object value, params IModule[] modules)Defines a case.
valueThe value to compare to the one returned by the document delegate. Must be a primitive object or an array of primitive objects.
modulesThe modules to execute if the case object (or any objects in the array) matches the document object.
-
Default(params IModule[] modules)Defines modules to execute against documents that don't match a case.
modulesThe modules to execute against documents that don't match a case.
