WelcomePageExtensions.UseWelcomePage 方法

定义

重载

UseWelcomePage(IApplicationBuilder)

将 WelcomePageMiddleware 添加到管道。

UseWelcomePage(IApplicationBuilder, WelcomePageOptions)

使用给定的选项将 WelcomePageMiddleware 添加到管道。

UseWelcomePage(IApplicationBuilder, PathString)

将 WelcomePageMiddleware 添加到具有给定的路径的管道。

UseWelcomePage(IApplicationBuilder, String)

将 WelcomePageMiddleware 添加到具有给定的路径的管道。

UseWelcomePage(IApplicationBuilder)

Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs

将 WelcomePageMiddleware 添加到管道。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder) As IApplicationBuilder

参数

返回

适用于

UseWelcomePage(IApplicationBuilder, WelcomePageOptions)

Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs

使用给定的选项将 WelcomePageMiddleware 添加到管道。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::WelcomePageOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.WelcomePageOptions options);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.WelcomePageOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, options As WelcomePageOptions) As IApplicationBuilder

参数

返回

适用于

UseWelcomePage(IApplicationBuilder, PathString)

Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs

将 WelcomePageMiddleware 添加到具有给定的路径的管道。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::PathString path);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString path);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.PathString -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, path As PathString) As IApplicationBuilder

参数

path
PathString

返回

适用于

UseWelcomePage(IApplicationBuilder, String)

Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs
Source:
WelcomePageExtensions.cs

将 WelcomePageMiddleware 添加到具有给定的路径的管道。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseWelcomePage(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, System::String ^ path);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseWelcomePage (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string path);
static member UseWelcomePage : Microsoft.AspNetCore.Builder.IApplicationBuilder * string -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseWelcomePage (app As IApplicationBuilder, path As String) As IApplicationBuilder

参数

path
String

返回

适用于