Rohland/htmldiff.net — pull request #6 by elerch (2012-05-30 16:07:00+00:00)
Title: Support for traditional API calling convention

I needed to make this change to support our IoC environment - I'm proxying the component to use an internal Interface.

I think ideally the HtmlDiff class would **not** use constructor injection for old/new text and leave those parameters to the Build() method, and the constructor would simply take any global configuration for the difference engine. I didn't want to go in and make too many changes, though, so I simply added a Build overload similar to the static helper method you already have.

The other commit was just for VS11 support (I don't have VS2010). VS11 project files are backward compatible with VS2010 as long as you have SP1 installed, so that commit should be safe. It should be easy to cherry-pick only the relevant commit elerch/htmldiff.net@baa8f42f83d05b45b033a2f13d0a25647b15a379 if you don't want the VS11 support, though.