Table of Contents

AddThrottlingCache Method

Definition

AddThrottlingCache<T>(IServiceCollection)

Adds a throttling cache service to the specified IServiceCollection.

public static IServiceCollection AddThrottlingCache<T>(this IServiceCollection services) where T : class, IThrottlingCache

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

An IServiceCollection that can be used to further configure other services.

Type Parameters

T