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

ProgressControllerStep() public method

Creates a step from definition
public ProgressControllerStep ( IProgressController controller, ProgressStepDefinition definition ) : Microsoft.VisualStudio
controller IProgressController The hosting for this step
definition ProgressStepDefinition The for which to create the step
return Microsoft.VisualStudio
        public ProgressControllerStep(IProgressController controller, ProgressStepDefinition definition)
        {
            if (controller == null)
            {
                throw new ArgumentNullException(nameof(controller));
            }

            if (definition == null)
            {
                throw new ArgumentNullException(nameof(definition));
            }

            this.controller = controller;
            this.definition = definition;
            this.Initialize();
        }
        #endregion