Skip to main content

IServiceCollectionExtensions.AddLoadShedding method (1 of 3)

Extension to configure the LoadShedding options.

public static IServiceCollection AddLoadShedding(this IServiceCollection services)
parameterdescription
servicesThe IServiceCollection instance.

Return Value​

IServiceCollection

See Also​


IServiceCollectionExtensions.AddLoadShedding method (2 of 3)

Extension to configure the LoadShedding options.

public static IServiceCollection AddLoadShedding(this IServiceCollection services, 
Action<IServiceProvider, LoadSheddingOptions> configDelegate)
parameterdescription
servicesThe IServiceCollection instance.
configDelegateThe configuration action.

Return Value​

IServiceCollection

See Also​


IServiceCollectionExtensions.AddLoadShedding method (3 of 3)

Extension to configure the LoadShedding options.

public static IServiceCollection AddLoadShedding(this IServiceCollection services, 
Action<LoadSheddingOptions> configDelegate)
parameterdescription
servicesThe IServiceCollection instance.
configDelegateThe configuration action.

Return Value​

IServiceCollection

See Also​