This commit is contained in:
Dan Clark
2025-02-11 17:59:16 +00:00
parent 95dd84d323
commit 66d61a3917
7 changed files with 9 additions and 18 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ public class Navigation(IServiceProvider provider,
{
currentSegmentIndex++;
if (provider.GetKeyedService<IContentTemplateDescriptor>(segment)
if (provider.GetRequiredKeyedService<IContentTemplateDescriptor>(segment)
is IContentTemplateDescriptor descriptor)
{
Dictionary<string, object>? arguments = parameters?.ToDictionary(x => x.Key, x => x.Value, StringComparer.InvariantCultureIgnoreCase) ?? [];