Aspectacular.RetryExponentialDelayAspect.SetRetryIfNecessary C# (CSharp) Method

SetRetryIfNecessary() protected method

protected SetRetryIfNecessary ( bool mayNeedToRetry ) : void
mayNeedToRetry bool
return void
        protected override void SetRetryIfNecessary(bool mayNeedToRetry)
        {
            if (mayNeedToRetry && this.Proxy.AttemptsMade > 1)
                this.MillisecDelayBetweenRetries = (uint)(this.MillisecDelayBetweenRetries * this.DelayMultiplier);

            base.SetRetryIfNecessary(mayNeedToRetry);
        }