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 CanExecutePatterns

CanExecutePatterns

Gets or sets a list of regular expression patterns that will be evaluated against method and/or property names to identify candidate can-execute members. In this pattern, all occurrences of the substring {CommandName} will be replaced with the command name determined according to CommandNamePattern before the expression is evaluated.

Declaration
public string[]? CanExecutePatterns { get; init; }
Property Value
Type Description
string[]
  • Navigation