Table of Contents

Class TerminalLoggerHelpProvider

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

The default ITerminalHelpProvider that logs the command help using ILogger.

public sealed class TerminalLoggerHelpProvider : ITerminalHelpProvider
Inheritance
TerminalLoggerHelpProvider
Implements
Inherited Members

Constructors

TerminalLoggerHelpProvider(TerminalOptions, ILogger<TerminalLoggerHelpProvider>)

Initializes new instance.

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

Parameters

terminalOptions TerminalOptions
logger ILogger<TerminalLoggerHelpProvider>

Methods

ProvideHelpAsync(TerminalHelpProviderContext)

Provides help asynchronously.

public Task ProvideHelpAsync(TerminalHelpProviderContext context)

Parameters

context TerminalHelpProviderContext

Returns

Task