RocketHostExtensions.

UseCommandLine(IRocketHostBuilder, Action<ConsoleLifetimeOptions>) Method

Summary

Uses the command line.

Syntax

public static IRocketHostBuilder UseCommandLine(this IRocketHostBuilder builder, Action<ConsoleLifetimeOptions> configureOptions)

Parameters

Name Type Description
builder IRocketHostBuilder The builder.
configureOptions Action<ConsoleLifetimeOptions> The configure options.

Return Value

Type Description
IRocketHostBuilder IRocketHostBuilder.