InterceptedCommand constructor

InterceptedCommand(ICommandInterceptor interceptor, ICommand next)

Creates a new InterceptedCommand, which serves as a link in an execution chain. Contains information about the interceptor that is being used and the next command in the chain.

  • interceptor the interceptor that is intercepting the command.
  • next (link to) the next command in the command's execution chain.