public void IncrementProgress(int increment = 1)
{
if (increment < 1)
{
throw new ArgumentOutOfRangeException(nameof(increment));
}
if (this.currentValue + increment > this.maxNumberOfIncrements)
{
throw new ArgumentOutOfRangeException(nameof(increment), this.currentValue + increment, string.Format(CultureInfo.CurrentCulture, ControllerResources.InclusiveRangeExpectedExceptionMessage, 1, this.maxNumberOfIncrements));
}
this.currentValue += increment;
}