Drop ValueViewModel, and expand ObservableCollection to support Value/ViewModel, and Key/Value/ViewModel

This commit is contained in:
TheXamlGuy
2024-10-02 21:47:59 +01:00
parent 08bfa44c4f
commit 855edf7d6d
7 changed files with 250 additions and 129 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ public partial class CommandValueViewModel<TValue>(IServiceProvider provider,
IPublisher publisher,
ISubscriber subscriber,
IDisposer disposer) :
ValueViewModel<TValue>(provider, factory, mediator, publisher, subscriber, disposer)
Observable<TValue>(provider, factory, mediator, publisher, subscriber, disposer)
where TValue : notnull
{
public IRelayCommand InvokeCommand =>
new AsyncRelayCommand(InvokeAsync);