From 320bf2055fdd0a4833f72f4ab6aac3288f839719 Mon Sep 17 00:00:00 2001 From: FunCoder Date: Tue, 22 Apr 2025 18:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9B=B4=E6=8E=A5=E5=A3=B0?= =?UTF-8?q?=E6=98=8EIApplicationBuilder=E4=BC=9A=E6=9C=89=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Admin.NET/Admin.NET.Application/Startup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin.NET/Admin.NET.Application/Startup.cs b/Admin.NET/Admin.NET.Application/Startup.cs index 4847c13a..badf12aa 100644 --- a/Admin.NET/Admin.NET.Application/Startup.cs +++ b/Admin.NET/Admin.NET.Application/Startup.cs @@ -44,12 +44,12 @@ public class Startup : AppStartup /// /// 构建 WebApplication 对象过程中装载中间件 /// - /// + /// WebApplication对象 /// /// - public void LoadAppComponent(IApplicationBuilder app, IWebHostEnvironment env, ComponentContext componentContext) + public void LoadAppComponent(object application, IWebHostEnvironment env, ComponentContext componentContext) { - WebApplication application = app as WebApplication; + WebApplication webApplication = application as WebApplication; } }