Пример #1
0
    public void Handle(InstallFailedEvent message)
    {
        var reboot = message.Failures.FirstOrDefault(f => f.Contains("reboot is required"));

        if (reboot != null)
        {
            eventAggregator.Publish <RebootRequiredEvent>();
            return;
        }

        ActivateModel <FailedInstallationViewModel>(new NamedParameter("failureReason", message.Reason), new NamedParameter("failures", message.Failures));
    }
 public void Handle(InstallFailedEvent message)
 {
     isInstalling = false;
 }