NancyFx/Nancy.Bootstrappers.StructureMap — pull request #12 by michaelnero (2013-11-21 17:49:51+00:00)
Title: Added container registration for Func<IRouteCache>.

StructureMapNancyBootstrapper.GetDiagnostics(), which overrides NancyBootstrapperBase.GetDiagnostics() throws an exception because StructureMap doesn't know how to handle the Func parameter on the DefaultRouteCacheProvider constructor. StructureMap tries to resolve Func when injecting constructor dependencies for Nancy.Diagnostics.DefaultDiagnostics.