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