SonarLint.VisualStudio.Integration.Progress.ProgressNotificationListener.OnStepExecutionChanged C# (CSharp) Method

OnStepExecutionChanged() private method

private OnStepExecutionChanged ( object sender, StepExecutionChangedEventArgs e ) : void
sender object
e SonarLint.VisualStudio.Progress.Controller.StepExecutionChangedEventArgs
return void
        private void OnStepExecutionChanged(object sender, StepExecutionChangedEventArgs e)
        {
            if (!string.IsNullOrWhiteSpace(e.ProgressDetailText) && !StringComparer.CurrentCulture.Equals(previousProgressDetail, e.ProgressDetailText))
            {
                previousProgressDetail = e.ProgressDetailText;
                string format = string.IsNullOrWhiteSpace(this.MessageFormat) ? "{0}" : this.MessageFormat;
                VsShellUtils.WriteToSonarLintOutputPane(this.serviceProvider, format, e.ProgressDetailText);
            }
        }