AddThrottlingCache Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Http.Throttling
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
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
servicesIServiceCollectionThe IServiceCollection to add services to.
Returns
- IServiceCollection
An IServiceCollection that can be used to further configure other services.
Type Parameters
T