CommandAttribute.ExecuteMethod Property |
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 2023.0.3.0 (2023.0.3.0)
The Execute method must be declared in the same class as the command property and can have zero parameter or one parameter of any type, which becomes the command parameter.
If this property is not set, then the aspect will look for a method named Foo or ExecuteFoo, where Foo is the name of the command without the Command suffix.