public MainActivity()
 {
     container = MefService.GetMEFContainer(new List <Assembly>()
     {
         typeof(MainActivity).Assembly
     }, this);
 }
 public LoginActivity()
 {
     using var container = MefService.GetMEFContainer(new List <Assembly>()
     {
         typeof(MainActivity).Assembly
     }, this);
     loginController = container.GetExportedValue <LoginController>();
     loginViewModel  = loginController.LoginViewModel;
 }