SonarLint.VisualStudio.Progress.Controller.StepExecutionChangedEventArgs.StepExecutionChangedEventArgs C# (CSharp) Method

StepExecutionChangedEventArgs() public method

public StepExecutionChangedEventArgs ( IProgressStep step ) : System
step IProgressStep
return System
        public StepExecutionChangedEventArgs(IProgressStep step)
        {
            if (step == null)
            {
                throw new ArgumentNullException(nameof(step));
            }

            this.Step = step;
            this.State = step.ExecutionState;
            this.Progress = step.Progress;
            this.ProgressDetailText = step.ProgressDetailText;
        }