Using interfaces with [RelayCommand] Generated methods #890
Unanswered
mwardell-Katmai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My team requires interfaces for our ViewModels. I love the MVVM Community Toolkit but I want to use both interfaces and
[RelayCommand]
Attributed class methods.How do I define an interface for
DownloadConfigurationCommand
in the following scenario using myObservableObject
descendant class?The following generates a 'Command' that is public called:
The code is defined as:
FYI: The code works but misses the Team requirement of having an interface defined.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions