ICommandInterceptor Interface

Represents a command settings interceptor that will intercept command settings before it's passed to a command.
public interface ICommandInterceptor
Implementing Types

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.

Extension Methods

T And<ICommandInterceptor>(Action<ICommandInterceptor>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.