private void BootstrapStructureMap(SparkFubuRegistry fubuRegistry) { UrlContext.Reset(); var bootstrapper = new StructureMapBootstrapper(ObjectFactory.Container, fubuRegistry); bootstrapper.Bootstrap(_routes); }
public static void Bootstrap(RouteCollection routes, SparkFubuRegistry fubuRegistry) { new SparkStructureMapBootstrapper(routes).BootstrapStructureMap(fubuRegistry); }