Class TerminalLoggerHelpProvider
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
TerminalOptionslogger
ILogger<TerminalLoggerHelpProvider>
Methods
ProvideHelpAsync(TerminalHelpProviderContext)
Provides help asynchronously.
public Task ProvideHelpAsync(TerminalHelpProviderContext context)
Parameters
context
TerminalHelpProviderContext