internal RateLimitEventArgs(RateControlTolerance tolerance) { Tolerance = tolerance; }
/// <summary> /// Constructs a <see cref="RateControl"/> instance with the specified settings. /// </summary> /// <param name="interval">The <see cref="RateControlInterval"/> assigned to the <see cref="RateControl.Interval"/> property.</param> /// <param name="tolerance">The <see cref="RateControlTolerance"/> assigned to the <see cref="RateControl.Tolerance"/> property.</param> public RateControl(RateControlInterval interval, RateControlTolerance tolerance) { _interval = interval; _tolerance = tolerance; }