protected virtual void OnExecutionStateChanged()
{
if (this.StateChangedPrivate != null)
{
VsThreadingHelper.RunInline(this.controller, VsTaskRunContext.UIThreadBackgroundPriority,
() =>
{
var delegates = this.StateChangedPrivate;
if (delegates != null)
{
delegates(this, new StepExecutionChangedEventArgs(this));
}
});
}
}
}