AddMemoryThrottlingCache Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Http.Throttling
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
AddMemoryThrottlingCache(IServiceCollection)
Adds a MemoryThrottlingCache service to the specified IServiceCollection.
public static IServiceCollection AddMemoryThrottlingCache(this IServiceCollection services)
Parameters
servicesIServiceCollectionThe IServiceCollection to add services to.
Returns
- IServiceCollection
An IServiceCollection that can be used to further configure other services.