internal RateLimitEventArgs(RateControlTolerance tolerance)
 {
     Tolerance = tolerance;
 }
Esempio n. 2
0
 /// <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;
 }