Exemple #1
0
 public MainViewModel(
     Individual individual,
     SynchronizationService synhronizationService,
     MessageBoardSelectionModel selection)
 {
     _individual             = individual;
     _synchronizationService = synhronizationService;
     _selection = selection;
 }
Exemple #2
0
 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;
 }
Exemple #5
0
 public JoinMessageBoardViewModel(MessageBoardSelectionModel selection, Individual individual)
 {
     _selection  = selection;
     _individual = individual;
 }
Exemple #6
0
 public MainViewModel(Community community, Individual individual, MessageBoardSelectionModel selection)
 {
     _community  = community;
     _individual = individual;
     _selection  = selection;
 }