Пример #1
0
 public MainViewModel()
 {
     ServerViewModel = new ServerViewModel();
     ServerViewModel.Init();
     MessagesViewModel = new SessionViewModel(ServerViewModel);
     ServerViewModel.CarInfoConfiguration = MessagesViewModel.CurrentCarConfiguration;
 }
Пример #2
0
 public SessionViewModel(ServerViewModel serverVM)
 {
     Server = serverVM;
     Messages = InitMessages();
 }
Пример #3
0
 public SessionViewModel(ServerViewModel serverVM)
 {
     Server   = serverVM;
     Messages = InitMessages();
 }