ayende/ravendb — pull request #196 by mj1856 (2012-12-15 01:52:04+00:00)
Title: Exposing registered listeners

There's currently no way to check to see if a listener is registered or not, because once you call the RegisterListener() method, the underlying listeners are protected.

This adds a few properties to the DocumentStoreBase class to return read-only lists of the listeners that have been registered. Since they're read-only, they can't easily be un-registered, but the caller can now have some visibility over them.