-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
At the present moment, the interface IHandlingConfiguration is responsible for storing handling configurations and running the handling logic itself. This could be considered a violation of the single responsibility principle.
To resolve this question, it could be split, at least, in two interfaces:
IHandlingConfiguration- stores the collection of handlers and other handling properties;IHandlingService- contains the logic for handling exceptions, and uses anIHandlingConfigurationto decide his behavior;
This implementation should allow a more decoupled handling logic.