Beispiel #1
0
 public HistoryViewModel(IExreciseHistoryService historyService)
 {
     mHistoryService = historyService;
     BindingOperations.EnableCollectionSynchronization(mHistories, mLockObject);
     WatcherBooks();
     Init();
 }
Beispiel #2
0
 public ExerciseViewModel(ILog log, IBookService bookService, IDocumentService documentService,
                          IEventAggregator eventAggregator, IExreciseHistoryService exreciseHistoryService, IReviewPlanService planService)
 {
     mLog                    = log;
     mBookService            = bookService;
     mDocumentService        = documentService;
     mEventAggregator        = eventAggregator;
     mExreciseHistoryService = exreciseHistoryService;
     mPlanService            = planService;
     mLog.Info("ExerciseViewModel has been loaded.");
     Init();
 }