How to close bootstrapper process?

时间:2017-06-15 10:17:11

标签: c# prism

I initialize the Bootstrapper at the application startup like this:

public void StartUp(object sender, StartupEventArgs e)
{
    Bootstrapper bs = new BootStrapper();
    bs.Run();
}

Is it possible to later stop the bootstrapper process once started and start it again, without closing the main application?

1 个答案:

答案 0 :(得分:1)

不,您无法停止引导过程然后再次启动它。我想不出你想要这样做的一个原因,如果你正在考虑那个,那么你应该重新评估你的应用程序设计。