public AllowedConsumptionRate(int limit, RateLimitUnit unit, int maxBurst) : this(limit, unit)
        {
            if (maxBurst <= 0)
            {
                throw new ArgumentOutOfRangeException($"{nameof(maxBurst)} has to be greater than 0");
            }

            MaxBurst = maxBurst;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Attribute" /> class.
        /// </summary>
        /// <param name="limit">The limit.</param>
        /// <param name="unit">The unit.</param>
        public AllowedConsumptionRate(int limit, RateLimitUnit unit)
        {
            if (limit <= 0)
            {
                throw new ArgumentOutOfRangeException($"{nameof(limit)} has to be greater than 0");
            }

            Limit = limit;
            Unit  = unit;
        }