RocketBooster.

For(DependencyContext, DiagnosticSource) Method

Summary

Fors the specified dependency context.

Syntax

public static Func<IHostBuilder, IRocketHostBuilder> For(DependencyContext dependencyContext, DiagnosticSource diagnosticSource = null)

Parameters

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

Return Value

Type Description
Func<IHostBuilder, IRocketHostBuilder> Func<IHostBuilder, IRocketHostBuilder>.