CommandAttribute.CanExecuteMethod Property |
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.10.10.0 (6.10.10.0)
The CanExecute method must be declared in the same class as the command property, return a bool value and can have zero or one parameter.
If this property is not set, then the aspect will look for a method named CanFoo or CanExecuteFoo, where Foo is the name of the command without the Command suffix.