CommandOperator

Provides utility functions and extensions for managing command operators in message headers. This object allows setting and retrieving operator information from command message headers, which is useful for tracking who initiated a command.

Properties

Link copied to clipboard

Retrieves the operator from the command header.

Link copied to clipboard

Retrieves the operator from the command header, throwing an exception if not present.

Functions

Link copied to clipboard

Creates a new header with the specified operator added.