RocketHostExtensions.

UseDependencyContext(IRocketFunctionHostBuilder, DependencyContext, DiagnosticSource) Method

Summary

Uses the dependency context.

Syntax

public static IRocketFunctionHostBuilder UseDependencyContext(this IRocketFunctionHostBuilder builder, DependencyContext dependencyContext, DiagnosticSource diagnosticSource = null)

Parameters

Name Type Description
builder IRocketFunctionHostBuilder The builder.
dependencyContext DependencyContext The dependency context.
diagnosticSource DiagnosticSource The diagnostic source.

Return Value

Type Description
IRocketFunctionHostBuilder IRocketFunctionHostBuilder.