protected virtual void ProcessLimit(SLimits.LimitData limit, ILimitLoger limitLoger, int threshold) { if (threshold >= 0 && threshold <= 100) { if (limitLoger.UsedPercents >= threshold) { limitLoger.LogPointWarning(); } } if (limit.Remaining == 0) { limitLoger.LogHasReachedError(); } }