Class ServiceCollectionExtensions
Extension methods for the Microsoft.Extensions.DependencyInjection.IServiceCollection interface.
Inheritance
System.Object
ServiceCollectionExtensions
Namespace: Cuemon.AspNetCore.DependencyInjection
Assembly: Cuemon.AspNetCore.dll
Syntax
public static class ServiceCollectionExtensions
Methods
| Improve this DocAddMemoryThrottling(IServiceCollection)
Adds a memory-based throttling cache service to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.
Declaration
public static IServiceCollection AddMemoryThrottling(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to. |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | An Microsoft.Extensions.DependencyInjection.IServiceCollection that can be used to further configure other services. |