ICommandInterceptor Interface
Represents a command settings interceptor that
will intercept command settings before it's
passed to a command.
public interface ICommandInterceptor
- Namespace
- Spectre
.Console .Cli
Methods
-
virtual void Intercept
(CommandContext, CommandSettings) - Intercepts command information before it's passed to a command.
-
virtual void InterceptResult
(CommandContext, CommandSettings, int) - Intercepts a command result before it's passed as the result.