I have an interface for registering exceptions, i.e. IExceptionLogger.
This interface has 3 implementation: DBExceptionLogger, XMLExceptionLogger, CSVExceptionLogger.
I have an application that will use DBExceptionLogger.
The application refers only to IExceptionLogger. How to create an instance DBExceptionLoggerin the application.
I cannot reference DBExceptionLoggerdirectly, as this would violate the goal of having an interface IExceptionLogger.
user338195
source
share