ncqrs/ncqrs — pull request #82 by matt-sullivan (2011-10-20 06:37:13+00:00)
Title: Support custom Json settings for JsonEventFormatter 

I want to be able to set properties on the JsonSerializer used to save events. (So it can save runtime type information for event properties that are interfaces.)

Changed JsonEventFormatter (and all other places JsonSerializer is used) to ask the environment for an instance of the JsonSerializer.

Changed NcqrsEnvironment to use a factory function so GetDefault() can return a new instance each time (when appropriate.)