IServiceCollectionExtensions.AddLoadShedding method (1 of 3)
Extension to configure the LoadShedding options.
public static IServiceCollection AddLoadShedding(this IServiceCollection services)
parameter | description |
---|---|
services | The IServiceCollection instance. |
Return Value
IServiceCollection
See Also
- class IServiceCollectionExtensions
- namespace Microsoft.AspNetCore.Builder
IServiceCollectionExtensions.AddLoadShedding method (2 of 3)
Extension to configure the LoadShedding options.
public static IServiceCollection AddLoadShedding(this IServiceCollection services,
Action<IServiceProvider, LoadSheddingOptions> configDelegate)
parameter | description |
---|---|
services | The IServiceCollection instance. |
configDelegate | The configuration action. |
Return Value
IServiceCollection
See Also
- class LoadSheddingOptions
- class IServiceCollectionExtensions
- namespace Microsoft.AspNetCore.Builder
IServiceCollectionExtensions.AddLoadShedding method (3 of 3)
Extension to configure the LoadShedding options.
public static IServiceCollection AddLoadShedding(this IServiceCollection services,
Action<LoadSheddingOptions> configDelegate)
parameter | description |
---|---|
services | The IServiceCollection instance. |
configDelegate | The configuration action. |
Return Value
IServiceCollection
See Also
- class LoadSheddingOptions
- class IServiceCollectionExtensions
- namespace Microsoft.AspNetCore.Builder