Versioned fact factory - GetcuReone/FactFactory GitHub Wiki
A fact factory that extends the capabilities of a typical factory to versioned. The essence of this factory is that now you can set versions for rules and specify which versions you need when prompted.
To implement this idea, the following was needed:
- Create interface IVersionFact;
- Let's changed the ISingleEntityOperations logic a little;
- Feeded the factory with a new implementation.
A special fact containing priority information. Thanks to him, we will find out which rule has which version.
The functionality of the priority fact factory is inherited.