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
LoggingConfig needs to be interface-based for easier mocking, and the default app/web.config based approach needs to fall back to a default instance when config entries are missing.
The text was updated successfully, but these errors were encountered:
* extracted ILoggingConfig from LoggingConfig
* switched to interface usage everywhere
* modified LoggingModule logic to allow config source to be unregistered /
config section to be missing; either case results in a default instance
of LoggingConfig to be registered
jbatte47
added a commit
to jbatte47/code-patterns
that referenced
this issue
Aug 17, 2013
* extracted ILoggingConfig from LoggingConfig
* switched to interface usage everywhere
* modified LoggingModule logic to allow config source to be unregistered /
config section to be missing; either case results in a default instance
of LoggingConfig to be registered
* changed MoqRegistrationSource to only return registrations when creating
new Mock-based ones; now returns an empty set in al other cases
* added new test assertions to verify the number of registrations before
and after MoqRegistrationSource is used with a container instance
LoggingConfig needs to be interface-based for easier mocking, and the default app/web.config based approach needs to fall back to a default instance when config entries are missing.
The text was updated successfully, but these errors were encountered: