/// <summary>
 ///
 /// </summary>
 /// <param name="regionManager"></param>
 /// <param name="installerLogger"></param>
 public ProgressControlViewModel(IRegionManager regionManager, CaseInstallerLogger installerLogger)
 {
     this.installerLogger   = installerLogger;
     this.regionManager     = regionManager;
     this.WindowLoadCommand = new DelegateCommand(LoadProgress);
     this.ModifyCommand     = new DelegateCommand(FinalPage);
 }
Example #2
0
 public MainWindowViewModel(IRegionManager regionManager, CaseInstallerLogger loggerFacade, IEventAggregator eventAggregator)
 {
     this.regionManager = regionManager;
     this.loggerFacade  = loggerFacade;
     this.loggerFacade.Log("Debug", Category.Debug, Priority.High);
     this.WindowLoadCommand = new DelegateCommand <string>(Navigate);
     this.CloseCommand      = new DelegateCommand <string>(PerformCloseAction);
     this.NavigateCommand   = new DelegateCommand <string>(NavigateNext);
     eventAggregator.GetEvent <RadioEvents>().Subscribe(EventReceived, true);
 }