//tries to satisfy the imports private void TrySatisyImports() { try { var tempContainer = LocatorBootstrapper.EnsureLocatorBootstrapper(); if (tempContainer != null) { _container = tempContainer; Debug.WriteLine("MEFedMVVM Composition Container is changing."); } resolver = new MEFedMVVMResolver(_container); basicVMInitializer = new BasicViewModelInitializer(Resolver); dataContextAwareVMInitializer = new DataContextAwareViewModelInitializer(Resolver); } catch (Exception ex) { Debug.WriteLine("MEFEdMVVM: ViewModelRepoistory. Unable to satisfy imports. " + ex); } }
//tries to satisfy the imports private void TrySatisyImports() { try { var tempContainer = LocatorBootstrapper.EnsureLocatorBootstrapper(); if (tempContainer != null) { _container = tempContainer; Debug.WriteLine("MEFedMVVM Composition Container is changing."); } resolver = new MEFedMVVMResolver(_container); basicVMInitializer = new BasicViewModelInializer(Resolver); dataContextAwareVMInitializer = new DataContextAwareViewModelInitializer(Resolver); } catch (Exception ex) { Debug.WriteLine("MEFEdMVVM: ViewModelRepoistory. Unable to satisfy imports. " + ex); } }