Method Command
Command(View, Command, CommandRouting, string, string?, string)
Traces a command routing step.
[Conditional("DEBUG")]
public static void Command(View view, Command command, CommandRouting routing, string phase, string? message = null, string method = "")
Parameters
viewViewThe view where routing is occurring.
commandCommandThe command being routed.
routingCommandRoutingThe current routing mode.
phasestringThe phase of routing (e.g., "Entry", "Exit", "Handler", "Event", "Routing").
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Command(View, ICommandContext?, string, string?, string)
Traces a command routing step from a context.
[Conditional("DEBUG")]
public static void Command(View view, ICommandContext? ctx, string phase, string? message = null, string method = "")
Parameters
viewViewThe view where routing is occurring.
ctxICommandContextThe command context (provides command and routing info).
phasestringThe phase of routing (e.g., "Entry", "Exit", "Handler", "Event", "Routing").
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Command(View, string, string?, string)
Traces a command routing step from a context.
[Conditional("DEBUG")]
public static void Command(View view, string phase, string? message = null, string method = "")