You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 an IHandlingConfiguration to decide his behavior;
This implementation should allow a more decoupled handling logic.
The text was updated successfully, but these errors were encountered:
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 anIHandlingConfiguration
to decide his behavior;This implementation should allow a more decoupled handling logic.
The text was updated successfully, but these errors were encountered: