コード例 #1
0
 private void BootstrapStructureMap(SparkFubuRegistry fubuRegistry)
 {
     UrlContext.Reset();
     var bootstrapper = new StructureMapBootstrapper(ObjectFactory.Container, fubuRegistry);
     bootstrapper.Bootstrap(_routes);
 }
コード例 #2
0
 public static void Bootstrap(RouteCollection routes, SparkFubuRegistry fubuRegistry)
 {
     new SparkStructureMapBootstrapper(routes).BootstrapStructureMap(fubuRegistry);
 }