This commit is contained in:
TheXamlGuy
2024-04-26 23:05:36 +01:00
parent 9f90ef693d
commit bc55c4649b
206 changed files with 3106 additions and 3204 deletions
+3 -3
View File
@@ -6,10 +6,10 @@ public class NavigateHandler(ComponentScope scope,
IComponentScopeProvider provider) :
INotificationHandler<Navigate>
{
public async Task Handle(Navigate args,
public async Task Handle(Navigate args,
CancellationToken cancellationToken)
{
if (provider.Get(args.Scope ?? scope.Name)
if (provider.Get(args.Scope ?? scope.Name)
is ComponentScopeDescriptor descriptor)
{
if (descriptor?.Services?.GetService<INavigationScope>() is INavigationScope navigationScope)
@@ -19,4 +19,4 @@ public class NavigateHandler(ComponentScope scope,
}
}
}
}
}