Ejemplo n.º 1
0
        public void Startup(ILogService logging, IViewModelProvider modelProvider)
        {
            Startup(logging, modelProvider.Environment);

            Main = modelProvider.Main;
            RegisterViewModel(Main);

            Exemplary = modelProvider.Exemplary;
            RegisterViewModel(Exemplary);
        }
Ejemplo n.º 2
0
 public ViewModelProvider(IMainViewModel main, ExemplaryViewModel exemplary, IEnvironmentViewModel environment)
 {
     Main        = main;
     Exemplary   = exemplary;
     Environment = environment;
 }