Beispiel #1
0
 public EditViewModel(EbookModel model, IEventAggregator eventAggregator, IWindowManager windowManager, IFileService fileService)
 {
     this.model           = model;
     this.eventAggregator = eventAggregator;
     this.windowManager   = windowManager;
     this.fileService     = fileService;
 }
Beispiel #2
0
 public ListViewModel(EbookModel model, IEventAggregator eventAggregator, IFileService fileService)
 {
     this.model           = model;
     this.eventAggregator = eventAggregator;
     this.fileService     = fileService;
     this.Ebooks          = this.model.GetLast(10);
 }
Beispiel #3
0
 public AddViewModel(EbookModel model, IEventAggregator eventAggregator, IFileService fileService)
 {
     this.model           = model;
     this.eventAggregator = eventAggregator;
     this.fileService     = fileService;
 }