Inheritance: Caliburn.Micro.BootstrapperBase
Exemple #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);
        }
Exemple #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);
        }
Exemple #3
0
 public App()
 {            
     var bootstrapper = new AppBootstrapper(new ExtendedSimpleContainerAdapter());
     bootstrapper.UseResolver().UseShared().Initialize();            
 }