问题
I am currently rewriting a silverlight application to Angular2. In the process, I need to keep running the existing silverlight application alongside the new Angular2 application.
So I have a parent container which nests a 'html'/'silverlight' container based on a hashed route.
But since, the silverlight application is now loaded inside a component, it cannot read the URL and the existing routing is broken. Is there any way, I could pass the URL change event inside the nested silverlight component?
I have uploaded the code here:
https://github.com/lohiarahul/Angular2-Silverlight-Starter
来源:https://stackoverflow.com/questions/38131161/angular2-silverlight-pass-url-inside-a-container-to-a-silverlight-object