开发者

Caliburn.Micro Bootstrapper muted - DisplayRootView is gone

开发者 https://www.devze.com 2023-03-18 04:44 出处:网络
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

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

精彩评论

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