How can I use DI to create an instance of the page that I navigate to with my route?

后端 未结 0 571
长发绾君心
长发绾君心 2021-02-08 21:17

Here is the situation that I have:

I have set up a route like this:

Routing.RegisterRoute("Cars/CarMgmtPage", typeof(CarMgmtPage));
相关标签:
回答
  • 消灭零回复
提交回复
热议问题