Exemplo n.º 1
0
 public ViewModelLocator()
 {
     MainViewModel            = new MainViewModel();
     CarViewModel             = new CarViewModel();
     CarModifierViewModel     = new CarModifierViewModel();
     RandomViewModel          = new RandomViewModel();
     RandomViewChartViewModel = new RandomViewChartViewModel();
 }
Exemplo n.º 2
0
 public MainViewModel()
 {
     this.CarViewModel         = new CarViewModel();
     this.CarModifierViewModel = new CarModifierViewModel(this.CarViewModel);
 }
Exemplo n.º 3
0
 public ViewModelLocator()
 {
     MainViewModel        = new MainViewModel();
     CarViewModel         = new CarViewModel();
     CarModifierViewModel = new CarModifierViewModel();
 }