As a user, I would like to use attributes to define that a command shall be validated when a property changes #11
Owner
- Add a "DependsOn" attribute to specify the property the command depends on.
- That property can be assigned to the command property itself.
- This solution would work great for view model interfaces.
- That property can be assigned to the CanExecute method of the command.
- This solution requires some additional logic on the command to either expose the can-execute callback or to provide a custom attribute provider for the can-execute and execute part.
- This solution would work great with the implementation.
- That property can be assigned to the command property itself.
- Add a "DependsOn" attribute to specify the property the command depends on.
- That property can be assigned to the command property itself.
- This solution would work great for view model interfaces.
- That property can be assigned to the CanExecute method of the command.
- This solution requires some additional logic on the command to either expose the can-execute callback or to provide a custom attribute provider for the can-execute and execute part.
- This solution would work great with the implementation.
enhancement
label
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
equadrat-oss/Framework.Mvvm#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?