CommandMetadata
Metadata container for command classes.
CommandMetadata holds all the reflective information about a command class, including property getters for aggregate targeting, command characteristics, and naming information. This metadata is used by the command processing pipeline to properly route and handle commands.
Author
ahoo wang
Parameters
the type of the command class
See also
Constructors
Properties
property getter for the aggregate ID (can be null for create commands)
property getter for the expected aggregate version
whether this command allows creating aggregates if they don't exist
the Class object representing the command type
getter for the named aggregate information
property getter for the owner ID
The static tenant ID if the tenant ID getter is a static property getter.
property getter for the tenant ID