VSSonarExtensionUi.Model.Menu.MoreInfoMenu.OnShowMoreInfoCommand C# (CSharp) Method

OnShowMoreInfoCommand() private method

Called when [source control command].
private OnShowMoreInfoCommand ( ) : void
return void
        private void OnShowMoreInfoCommand()
        {
            if (this.model.SelectedItems == null || this.model.SelectedItems.Count == 0)
            {
                return;
            }

            try
            {
                if (this.CommandText.Equals("More Info"))
                {
                    if (!string.IsNullOrEmpty(this.model.SelectedIssue.HelpUrl))
                    {
                        this.vshelper.NavigateToResource(this.model.SelectedIssue.HelpUrl);
                    }
                    else
                    {
                        MessageDisplayBox.DisplayMessage("Issue does not have help URL  defined.");
                    }
                }
            }
            catch (Exception ex)
            {
                this.manager.ReportMessage(new Message { Id = "MoreInfoMenu", Data = "Failed to perform operation: " + ex.Message });
                this.manager.ReportException(ex);
            }
        }