DarthFubuMVC/fubumvc — Issue #191: All TypePool operations need to be isolated
Author: jeremydmiller
Created: 2011-11-16 14:44:47+00:00
State: open
Labels: Enhancement

I hate to mess with this, but we need to partially decouple TypePool from the assembly scanning -- and all scanning operations need to be done in complete isolation. The cure little "share the TypePool" optimization trick is causing more trouble than good.

AppliesTo should gather up assemblies to scan and should also help "know" whether or not to scan for action discovery. Expose a method on FubuRegistry something like:

ForTypes(Action action) -- but the action will only be called during BuildGraph()