public MainViewModel( Individual individual, SynchronizationService synhronizationService, MessageBoardSelectionModel selection) { _individual = individual; _synchronizationService = synhronizationService; _selection = selection; }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) { _synchronizationService.Initialize(); } else { _synchronizationService.InitializeDesignData(); } _selection = new MessageBoardSelectionModel(); }
public ViewModelLocator() { _synchronizationService = new SynchronizationService(); if (!DesignMode) { _synchronizationService.Initialize(); } else { _synchronizationService.InitializeDesignMode(); } _selection = new Models.MessageBoardSelectionModel(); _selection.SelectedShare = _synchronizationService.Individual.Shares .FirstOrDefault(); }
public MessageBoardViewModel(Share share, MessageBoardSelectionModel selection) { _share = share; _selection = selection; }
public JoinMessageBoardViewModel(MessageBoardSelectionModel selection, Individual individual) { _selection = selection; _individual = individual; }
public MainViewModel(Community community, Individual individual, MessageBoardSelectionModel selection) { _community = community; _individual = individual; _selection = selection; }