Inheritance: Caliburn.Micro.BootstrapperBase
Beispiel #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            string[] args = e.Args;
            base.OnStartup(e);
            var bs = new AppBootstrapper <MainView>(() => { return(VMS.TPS.Common.Model.API.Application.CreateApplication()); });

            //args = ContextIO.ReadArgsFromFile(@"context.txt");
            bs.Run(args);
        }
Beispiel #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            string[] args = e.Args;
            base.OnStartup(e);
            var bs = new AppBootstrapper <MainView>(() => { return(VMS.TPS.Common.Model.API.Application.CreateApplication()); });

            //You can use the following to load a context (for debugging purposes)
            //args = ContextIO.ReadArgsFromFile(@"context.txt");
            //Might disable (uncomment) for plugin mode
            //bs.IsPatientSelectionEnabled = false;
            bs.Run(args);
        }
Beispiel #3
0
 public App()
 {            
     var bootstrapper = new AppBootstrapper(new ExtendedSimpleContainerAdapter());
     bootstrapper.UseResolver().UseShared().Initialize();            
 }