ServicesHostBuilderExtensions.

ConfigureServices(IConventionHostBuilder, ServiceConventionDelegate) Method

Summary

Configure the services delegate to the convention scanner

Syntax

public static IConventionHostBuilder ConfigureServices(this IConventionHostBuilder container, ServiceConventionDelegate delegate)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
container IConventionHostBuilder The container.
delegate ServiceConventionDelegate The delegate.

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.