diff --git a/Wpf.NavigationDemo/Extensions/NavigationRegisterServiceExtensions.cs b/Wpf.NavigationDemo/Extensions/NavigationRegisterServiceExtensions.cs index c5d86ec..da5a6f2 100644 --- a/Wpf.NavigationDemo/Extensions/NavigationRegisterServiceExtensions.cs +++ b/Wpf.NavigationDemo/Extensions/NavigationRegisterServiceExtensions.cs @@ -1,4 +1,4 @@ -using Microsoft.Extensions.DependencyInjection.Extensions; +using Microsoft.Extensions.DependencyInjection.Extensions; using System.Reflection; using System.Text.RegularExpressions; @@ -13,7 +13,7 @@ public static class NavigationRegisterServiceExtensions assemblies = [Assembly.GetEntryAssembly() ?? Assembly.GetExecutingAssembly(), Assembly.GetCallingAssembly()]; } - // 注入对话框实例集合 + // 注入导航页面实例集合 var navigations = assemblies.Distinct().SelectMany(x => x.GetTypes()).Where(x => !x.IsAbstract && !x.IsInterface