Table of Contents

Class TerminalHelpLoggerProvider

Namespace
OneImlx.Terminal.Runtime
Assembly
OneImlx.Terminal.dll

The default ITerminalHelpProvider that logs the command help using ILogger.

public sealed class TerminalHelpLoggerProvider : ITerminalHelpProvider
Inheritance
TerminalHelpLoggerProvider
Implements
Inherited Members

Constructors

TerminalHelpLoggerProvider(TerminalOptions, ILogger<TerminalHelpLoggerProvider>)

Initializes new instance.

public TerminalHelpLoggerProvider(TerminalOptions terminalOptions, ILogger<TerminalHelpLoggerProvider> logger)

Parameters

terminalOptions TerminalOptions
logger ILogger<TerminalHelpLoggerProvider>

Methods

ProvideHelpAsync(TerminalHelpProviderContext)

Provides help asynchronously.

public Task ProvideHelpAsync(TerminalHelpProviderContext context)

Parameters

context TerminalHelpProviderContext

Returns

Task