Open sandboxFocus

Property CommandNamePattern

CommandNamePattern

Gets or sets a regular expression pattern that will be evaluated against the name of the target method of the CommandAttribute aspect. The expression should yield a match group named CommandName. If CommandNamePattern is not specified, the name produced from the target method name, minus any Execute prefix and Command suffix.

Declaration
public string? CommandNamePattern { get; init; }
Property Value
Type Description
string