public MainViewModel(Community community, SynchronizationService synhronizationService, NewGameSelectionModel newGameSelection)
        {
            _community = community;
            _synhronizationService = synhronizationService;

            _newGame = new NewGameViewModel(synhronizationService.Domain, newGameSelection);
        }
        public ViewModelLocator()
        {
            _synchronizationService = new SynchronizationService();
            if (!DesignerProperties.IsInDesignTool)
                _synchronizationService.Initialize();

            NewGameSelectionModel newGameSelection = new NewGameSelectionModel();
            _main = new MainViewModel(_synchronizationService.Community, _synchronizationService, newGameSelection);
        }
 public CompanyHeaderViewModel(Company company, NewGameSelectionModel selection)
 {
     _company = company;
     _selection = selection;
 }
 public NewGameViewModel(Domain domain, NewGameSelectionModel selection)
 {
     _domain = domain;
     _selection = selection;
 }