RelayCommandAttribute
can't be used with interface and generic class
#817
Labels
bug 🐛
An unexpected issue that highlights incorrect behavior
Describe the bug
If you have an interface, without a generic type, that requires the implementation of an
ICommand
property it isn't possible to use theRelayCommandAttribute
on a generic class that uses the generic type as parameter on the command method.The
RelayCommandAttribute
generates a property of typeIRelayCommand<T>
that doesn't satisfy the implementation of the interface.Regression
No response
Steps to reproduce
Expected behavior
The generated property should be of type
ICommand
orRelayCommandAttribute
should have an option to generate the property with of typeICommand
instead ofIRelayCommand<T>
.Screenshots
No response
IDE and version
VS 2022, Rider
IDE version
No response
Nuget packages
Nuget package version(s)
8.2.2
Additional context
No response
Help us help you
Yes, but only if others can assist
The text was updated successfully, but these errors were encountered: