Dela via


PartitionedRateLimiter Class

Definition

Contains methods to assist with creating a PartitionedRateLimiter<TResource>.

public static class PartitionedRateLimiter
type PartitionedRateLimiter = class
Public Class PartitionedRateLimiter
Inheritance
PartitionedRateLimiter

Methods

Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>)

Method used to create a default implementation of PartitionedRateLimiter<TResource>.

CreateChained<TResource>(PartitionedRateLimiter<TResource>[])

Creates a single PartitionedRateLimiter<TResource> that wraps the passed in PartitionedRateLimiter<TResource>s.

Applies to