I am currently migrating the project to PostSharp to remove a lot of code templates, most of them go very smoothly, but I canβt figure out how to get the team to double-check if it is CanExecute . I expected PostSharp to test the command, as if properties are checking dependencies, here is a minimalist pattern
[NotifyPropertyChanged] public class MyWindowViewModel {
At startup, the collection is empty, and the button attached to the close command is marked as expected, however adding a document using the button attached to AddDocument does not activate the close button of the document, which is a suitable way to execute What do I need? Is PostSharp just a consideration of assignments, not method calls as changes, or is it something else entirely?
Ronan thibaudau
source share