CallbackCommandInterceptor(Action<CommandContext, CommandSettings>) Constructor

Initializes a new instance of the CallbackCommandInterceptor class.
public CallbackCommandInterceptor(Action<CommandContext, CommandSettings> callback)

Parameters

Action<CommandContext, CommandSettings> callback
The callback to call when the interceptor is invoked.