Add support for self scope

This commit is contained in:
TheXamlGuy
2024-05-12 12:22:04 +01:00
parent c1b6e595bc
commit 4024ebfe38
15 changed files with 62 additions and 27 deletions
+4
View File
@@ -1,4 +1,5 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Toolkit.Foundation;
namespace Bitvault;
@@ -14,4 +15,7 @@ public partial class AddItemActionViewModel(IServiceProvider provider,
[ObservableProperty]
private string named = $"{named}";
[RelayCommand]
public async Task Invoke() => await Publisher.Publish(new Test());
}