开发者

Caliburn.Micro Bootstrapper muted - DisplayRootView is gone

I upgraded Caliburn.m开发者_JAVA技巧icro and had a breaking change from 1.0 to 1.1 - method DisplayRootView is gone from Bootstrapper. While in a minor example this did not seem to be an issue, I have a project that remains silent. No "GetInstance" is called, no window appearing, ViewModel is not instantiated.

I am stumped.

What kind of magic am I missing this time round?


From changset 1c1b60d46f3e:

Breaking change in the Bootstrapper. Removed DisplayRootView. Developers wishing to customize this should just override OnStartup. Added a Helper method to the Bootstrapper called DisplayRootViewFor which is now used by Bootstrapper in it's OnStartup override. This method is available in the standard bootstrapper for developers who need custom logic for startup, but don't wish to copy/paste the root view initialization code.

Changesets with "breaking changes" between 1.0 RTW and 1.1 RTW, latest first:

  • 551d026dde5a
  • 1c1b60d46f3e
  • f749bccbde2e
  • 871bd95de43f
  • aaccdf5aadd3
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜