DefaultCommandConfigurator

Fluent configurator for the default command.

Fluent configurator for the default command.

Methods

public DefaultCommandConfigurator WithData(object data)

Sets data that will be passed to the command via the CommandContext.

Parameters:

data (object)
The data to pass to the default command.

Returns:

The same DefaultCommandConfigurator instance so that multiple calls can be chained.

public DefaultCommandConfigurator WithDescription(string description)

Sets the description of the default command.

Parameters:

description (string)
The default command description.

Returns:

The same DefaultCommandConfigurator instance so that multiple calls can be chained.