ServiceCollectionConfigureExtensions class

namespace: Serenity.Extensions.DependencyInjection   assemblySerenity.Net.Web

DI extension methods related to configuration and options

public static class ServiceCollectionConfigureExtensions

Public Members

name description
static ConfigureSection<TOptions>(…) Calls Configure<TOptions> with the section key determined from DefaultSectionKeyAttribute on TOptions.
static ConfigureSections(…) Calls Configure<TOptionsType> for all setting classes that have a DefaultSectionKeyAttribute.

See Also