Fork me on GitHub

Strategies

The strategy defines how the answer to the question is calculated.

Default Strategy

The default strategy used by the evaluation engine if no strategy is defined is to use the aggregator strategy that will simply pass all defined expressions to the specified aggregator and let the aggregator do the work. This strategy is sufficient for almost all scenarios.

Use your own Strategy

In case you want to extend the evaluation process, you can define your own strategy:

The strategy has to implement the interface IStrategy:

The parameter description gives you access to the whole solution definition. Below is the default strategy for an example: