Bewerken

Delen via


NamedServiceConfiguratorExtensions Class

Definition

Extensions for working with INamedServiceConfigurator.

public static class NamedServiceConfiguratorExtensions
type NamedServiceConfiguratorExtensions = class
Public Module NamedServiceConfiguratorExtensions
Inheritance
NamedServiceConfiguratorExtensions

Methods

Configure<TOptions>(INamedServiceConfigurator, Action<OptionsBuilder<TOptions>>)

Configures options for a named service.

ConfigureComponent<TComponent>(INamedServiceConfigurator, Func<IServiceProvider,String,TComponent>)

Adds a singleton component to a named service.

ConfigureComponent<TOptions,TComponent>(INamedServiceConfigurator, Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>)

Adds a singleton component to a named service and configures options for the named service.

ConfigureLifecycle<T>(INamedServiceConfigurator)

Applies to