ICommandInterceptor class abstract
An interface for stackable command intercepters, which can extend and modify the command call chain.
This mechanism can be used for authentication, logging, and other functions.
See ICommand See InterceptedCommand
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
String? correlationId, ICommand command, Parameters args) → Future - Executes the wrapped command with specified arguments.
-
getName(
ICommand command) → String - Gets the name of the wrapped command.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
ICommand command, Parameters args) → List< ValidationResult> - Validates arguments of the wrapped command before its execution.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited