SetInterceptor(IConfigurator, ICommandInterceptor) Method
Sets the command interceptor to be used.
public static IConfigurator SetInterceptor(this IConfigurator configurator, ICommandInterceptor interceptor)
- Namespace
- Spectre
.Console .Cli - Containing Type
- Configurator
Extensions
Parameters
- IConfigurator configurator
- The configurator.
- ICommandInterceptor interceptor
- A
ICommandInterceptor
.