参数直接声明IApplicationBuilder会有错
This commit is contained in:
parent
2bcaf6375d
commit
320bf2055f
@ -44,12 +44,12 @@ public class Startup : AppStartup
|
||||
/// <summary>
|
||||
/// 构建 WebApplication 对象过程中装载中间件
|
||||
/// </summary>
|
||||
/// <param name="app"></param>
|
||||
/// <param name="application">WebApplication对象</param>
|
||||
/// <param name="env"></param>
|
||||
/// <param name="componentContext"></param>
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user