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); }
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); }
public App() { var bootstrapper = new AppBootstrapper(new ExtendedSimpleContainerAdapter()); bootstrapper.UseResolver().UseShared().Initialize(); }