introduce a TransientNavigationStore to share objects from one state to the next state

This commit is contained in:
TheXamlGuy
2024-10-08 15:12:50 +01:00
parent 12ed99f191
commit f809f3d221
9 changed files with 224 additions and 173 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ public class Navigation(IServiceProvider provider,
if (region is not null)
{
object? content = await contentFactory.CreateAsync(descriptor, resolvedArguments);
object? content = contentFactory.Create(descriptor, resolvedArguments);
if (content is not null)
{
Type navigationType = region is Type type ? type : region.GetType();