If A wants to use B

Find the place where B is used, and use C to call C.B

 

RootFrame.Navigated += CheckForResetNavigation;

ViewModelLocator.InitialiseRootFrame(RootFrame);

 

public void InitialiseRootFrame(PhoneApplicationFrame rootFrame)
{
containerLocator.Container.RegisterType<INavigationService, NavigationServiceAdapter>(new InjectionConstructor(rootFrame));
}

posted @ 2013-11-11 10:22  MinieGoGo  阅读(111)  评论(0编辑  收藏  举报