AutofacRocketHostExtensions.

UseAutofac(IRocketHostBuilder, ContainerBuilder) Method

Summary

Uses the autofac.

Syntax

public static IRocketHostBuilder UseAutofac(this IRocketHostBuilder builder, ContainerBuilder containerBuilder = null)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
builder IRocketHostBuilder The builder.
containerBuilder ContainerBuilder The container builder.

Return Value

Type Description
IRocketHostBuilder IRocketHostBuilder.