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
+5 -6
View File
@@ -7,16 +7,16 @@ public class NavigationScope(IPublisher publisher,
IServiceFactory factory,
INavigationProvider navigationProvider,
INavigationContextProvider navigationContextProvider,
IContentTemplateDescriptorProvider contentTemplateDescriptorProvider) :
IContentTemplateDescriptorProvider contentTemplateDescriptorProvider) :
INavigationScope
{
public async Task NavigateAsync(string route, object? sender = null, object? context = null,
public async Task NavigateAsync(string route, object? sender = null, object? context = null,
EventHandler? navigated = null, object[]? parameters = null, CancellationToken cancellationToken = default)
{
string[] segments = route.Split('/');
int segmentCount = segments.Length;
int currentSegmentIndex = 0;
foreach (object segment in segments)
{
currentSegmentIndex++;
@@ -79,7 +79,7 @@ public class NavigationScope(IPublisher publisher,
}
}
public async Task NavigateBackAsync(object? context,
public async Task NavigateBackAsync(object? context,
CancellationToken cancellationToken = default)
{
if (context is not null)
@@ -100,5 +100,4 @@ public class NavigationScope(IPublisher publisher,
}
}
}
}
}