public UpdateWithPauseCommand(LibraryViewModel view, Core.Services.LibraryViewModel library)
 {
     this.library                   = library;
     this.Update                    = new UpdateVisibleMangaCommand(view, library);
     this.Pause                     = new PauseCommand(library);
     this.Continue                  = new ContinueCommand(library);
     this.ActiveCommand             = this.Update;
     this.Update.CanExecuteChanged += UpdateOnCanExecuteChanged;
 }
예제 #2
0
 public UpdateVisibleMangaCommand(LibraryViewModel viewModel, Core.Services.LibraryViewModel model) : base(model)
 {
   this.viewModel = viewModel;
   this.Name = "Обновить библиотеку";
   this.Icon = "pack://application:,,,/Icons/Main/update_any.png";
 }