Inheritance: Prism.Unity.UnityBootstrapper
Beispiel #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var bootstrapper = new Bootstrapper();
            bootstrapper.Run();
        }
Beispiel #2
0
 public Startup(IObjectContainer objectContainer)
 {
     var containerAdapter = new ObjectContainerAdapter(objectContainer);
     var bootstrapper =
         new Bootstrapper(containerAdapter)
         .Use(new RegisterCompositionModulesMiddleware<Bootstrapper>());            
     bootstrapper.Initialize();            
 }                       
Beispiel #3
0
 public App()
 {
     Bootstrapper bootStrapper = new Bootstrapper();
     bootStrapper.Run();
 }