Table of Contents

AddMemoryThrottlingCache Method

Definition

Namespace
Cuemon.Extensions.AspNetCore.Http.Throttling
Assemblies
Cuemon.Extensions.AspNetCore.dll
Source
src/Cuemon.Extensions.AspNetCore/Http/Throttling/ServiceCollectionExtensions.cs

AddMemoryThrottlingCache(IServiceCollection)

Adds a MemoryThrottlingCache service to the specified IServiceCollection.

public static IServiceCollection AddMemoryThrottlingCache(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

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