Improved event naming

This commit is contained in:
TheXamlGuy
2024-05-12 19:55:20 +01:00
parent 9eafcc55d0
commit f0fd68c16e
56 changed files with 169 additions and 131 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
namespace Toolkit.Foundation;
public class NavigateBackHandler(IComponentScopeProvider provider) :
INotificationHandler<NavigateBack>
INotificationHandler<NavigateBackEventArgs>
{
public async Task Handle(NavigateBack args,
public async Task Handle(NavigateBackEventArgs args,
CancellationToken cancellationToken)
{
if (provider.Get(args.Scope ?? "Root")