예제 #1
0
 public void DoShowInfo()
 {
     try
     {
         var version =
             _updateManager.CurrentlyInstalledVersion()?.ToString()
             ?? GitVersionInformation.FullSemVer;
         _messageService.Show($"You are running: {version}", "Information");
     }
     catch (Exception ex)
     {
         Trace.TraceWarning("Could not show info: " + ex);
         _messageService.Show("Could not show info: " + ex.Message, "Error", MessageButton.Ok, MessageImage.Error);
     }
 }