Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

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
  • Navigation