引导程序文件的示例? [英] An example of a bootstrapper file?

查看:77
本文介绍了引导程序文件的示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能举个很好的例子,我可以参考。

Does anyone have a good example of a bootstrapper class I can see for reference..

我似乎在任何地方都找不到,搜索过google但没有运气。

I can't seem to find one anywhere, searched google but no luck.

搜索了帮助文件,没有运气。

Searched the helpfile and no luck..

推荐答案

如果您正在搜索一个在应用程序开始时配置容器的类,则可以下载最新的 Prism 拖放并查找UnityBootstrapper类。

If you are searching for a class that that configures the container at the beggining of an application, you can download the latest Prism drop and look for the UnityBootstrapper class.

请注意,这只是注册运行Prism应用程序所需的服务,因此引导程序将可能需要使用其他容器配置。

Take into account that this is only registering the necessary services for a Prism application to run, so your bootstrapper will probably require a different container configuration.

这篇关于引导程序文件的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆