SonarLint.VisualStudio.Progress.Controller.ProgressControllerStep.UpdateProgress C# (CSharp) Method

UpdateProgress() protected method

Updates the progress with the specified values
protected UpdateProgress ( string progressDetailText, double progress ) : void
progressDetailText string Optional progress detail text
progress double Progress in a range of 0.0 to 1.0
return void
        protected void UpdateProgress(string progressDetailText, double progress)
        {
            Debug.Assert(this.ExecutionState == StepExecutionState.Executing, "ProgressChanged is expected to be used only when executing");
            this.ProgressDetailText = progressDetailText;
            this.Progress = progress;
            this.OnExecutionStateChanged();
        }