Introduction
There are two ways to customize the Dime.Scheduler Connector Extension:
- Extend the extension, or "dependent extensions"
- Subscribe to the Dime.Scheduler events
The latter option is great for minor customizations that don't require a great amount of code changes. Most of the "Send" functions to Dime.Scheduler contain events. Developers can hook in to the workflow by subscribing to these events. The former option is more involved and more complex, but that also implies more flexibility and room for extensive modifications to the middleware layer between Dime.Scheduler and BC.
📄️ Events
Throughout the solution, the connector raises a series of events which enables the developers to inject custom business logic before or after the data is sent to Dime.Scheduler. You will find that the event names are fairly self-explanatory.
📄️ Extension
"Extend the extension" is a pattern comparable to Matryoshka dolls, where each doll fits inside a larger one, decreasing in size progressively. Using functionality that was developed previously, you can extend that extension with your own logic. That way you get a stack of functionality that only contains the business logic required to serve one particular purpose.