public ViewModelLocator()
 {
     NavigationModel navigationModel = new NavigationModel();
     _synchronizationService = new SynchronizationService(navigationModel);
     if (!DesignerProperties.IsInDesignTool)
         _synchronizationService.Initialize();
     _main = new MainViewModel(_synchronizationService.Community, navigationModel, _synchronizationService);
 }
 public SynchronizationService(NavigationModel navigationModel)
 {
     _navigationModel = navigationModel;
 }
 public HomeViewModel(Identity identity, NavigationModel navigation)
 {
     _identity = identity;
     _navigation = navigation;
 }
 public MainViewModel(Community community, NavigationModel navigationModel, SynchronizationService synhronizationService)
 {
     _community = community;
     _navigationModel = navigationModel;
     _synhronizationService = synhronizationService;
 }