开发者

Cannot create instances of the Types contained in the loaded Silverlight Prism XAP modules

开发者 https://www.devze.com 2023-01-28 03:48 出处:网络
My Silverlight PRISM application is loading several XAP modules. I want to be able to get access to the types contained in the loaded modules so I could create instances of the views and modelviews BE

My Silverlight PRISM application is loading several XAP modules. I want to be able to get access to the types contained in the loaded modules so I could create instances of the views and modelviews BEFORE shell is activated. I am trying to implement something like this:

                AggregateCatalog.Changed+=(o, e)=>
                                         开发者_如何学编程 {
                                              var type =
                                                  Type.GetType(
                                                      "mytype, assemblyname");
}

but the type is always null :( Please help.

0

精彩评论

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

关注公众号