Что является аналогом GetExportedValues<T>(System.ComponentModel.Composition)
для инъекции Unity Dependency?
private LoginView GetLoginView()
{
//Container => CompositionContainer
var loginWindow = Container.GetExportedValues<IViewFor<ILoginViewModel>>().FirstOrDefault();
if (loginWindow == null)
throw new NullReferenceException($"Login Window can't be null");
return (LoginView)loginWindow;
}