addInterceptor method

void addInterceptor(
  1. ICommandInterceptor interceptor
)

Adds a ICommandInterceptor command interceptor to this command set.

Implementation

/// - [interceptor]     the interceptor to add.

/// See [ICommandInterceptor]

void addInterceptor(ICommandInterceptor interceptor) {
  _interceptors.add(interceptor);
  _rebuildAllCommandChains();
}