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(); }