NancyFx/Nancy — pull request #953 by grumpydev (2013-02-05 16:25:02+00:00)
Title: Scanning changes

Now the ADATS defaults to only scanning assemblies with a reference to a Nancy assembly (and nancy itself), and the autoregister ignore list is the same as it used to be.

Still need to rework the InternalConfiguration to make the type scanning lazy (it's currently done even if you override everything).

Still not 100% sure the AR logic is "correct" (we could be stricter), but would need TinyIoC changes to implement anything better. We could bring it into Nancy and not use AR at all, but I think there are times where you want AR to look at assemblies that you don't want ADATS to (for instance an ISession in a database library - you'll want AR to see that to grab implementations, but you don't want to scan that assembly for configuration types and/or resources)