protected string AttemptInfo(PerformContext context, IPerformContextAdapter adapter) { return($"{CurrentAttempt(context, adapter)}/{JobConfiguration.Attempts(Env)}"); }
protected bool IsLastAttempt(PerformContext context, IPerformContextAdapter adapter) { var currentAttempt = CurrentAttempt(context, adapter); return(currentAttempt >= JobConfiguration.Attempts(Env)); }