From 373658441e481189bcac53d42fc7211e09a5cdcd Mon Sep 17 00:00:00 2001 From: Sanchime Date: Tue, 15 Oct 2024 10:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Wpf.NavigationDemo/Extensi?= =?UTF-8?q?ons/NavigationRegisterServiceExtensions.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Extensions/NavigationRegisterServiceExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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