SonarLint.VisualStudio.Integration.Binding.BindingWorkflow.InformAboutQualityProfileToDownload C# (CSharp) Method

InformAboutQualityProfileToDownload() private method

private InformAboutQualityProfileToDownload ( string profileName, string profileKey, string languageName, bool isDownloadFailed ) : void
profileName string
profileKey string
languageName string
isDownloadFailed bool
return void
        private void InformAboutQualityProfileToDownload(string profileName, string profileKey, string languageName, bool isDownloadFailed)
        {
            string output;

            if (isDownloadFailed)
            {
                output = string.Format(Strings.QualityProfileDownloadFailedMessageFormat, profileName, profileKey, languageName);
            }
            else
            {
                output = string.Format(Strings.QualityProfileDownloadSuccessfulMessageFormat, profileName, profileKey, languageName);
            }

            output = string.Format(Strings.SubTextPaddingFormat, output);

            VsShellUtils.WriteToSonarLintOutputPane(this.host, output);
        }