InterceptResult(CommandContext, CommandSettings, int) Method
Intercepts a command result before it's passed as the result.
void InterceptResult(CommandContext context, CommandSettings settings, ref int result)
- Namespace
- Spectre
.Console .Cli - Containing Type
- ICommandInterceptor
Parameters
- CommandContext context
- The intercepted
CommandContext
. - CommandSettings settings
- The intercepted
CommandSettings
. - int result
- The result from the command execution.