In non-Prism WPF app, if I want to run code after initialization (e.g. execute the task specified by command-line argument), I can do it in Loaded event of the main window. However with Prism, the modules are initialized after main window is displayed, that is, IModule.Initialize() is called after Bootstrapper.CreateShell() and Bootstrapper.InitializeShell(). In this case which event/override should I use?
In non-Prism WPF app, if I want to run code after initialization (e.g. execute
Share
The last thing called by
UnityBootstrapper.Run(bool runWithDefaultConfiguration)isInitializeModules()(well apart from a call to Logger.Log). So overide Run(…).