FixedWindowRateLimiterOptions.AutoReplenishment 属性

定义

指定是 FixedWindowRateLimiter 自动刷新计数器,还是其他人将调用 TryReplenish() 刷新计数器。

public:
 property bool AutoReplenishment { bool get(); void set(bool value); };
public bool AutoReplenishment { get; set; }
member this.AutoReplenishment : bool with get, set
Public Property AutoReplenishment As Boolean

属性值

默认值为 true

适用于