protected CustomerThrottleContext(uint identity, Banda.AsyncThrottledFunctionExecutor.CustomerThrottle customerThrottle, System.Object tokenBucket, bool skipValidation) { this.identity = identity; this.customerThrottle = customerThrottle; this.tokenBucket = tokenBucket; if (!skipValidation) { this.Validate(); } }
public CustomerThrottleContext(Banda.AsyncThrottledFunctionExecutor.CustomerThrottle CustomerThrottle, System.Object TokenBucket) : this(NewIdentity(), customerThrottle : CustomerThrottle, tokenBucket : TokenBucket, skipValidation : false) { }