共用方式為


WebApplication.CreateSlimBuilder 方法

定義

多載

CreateSlimBuilder()

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

CreateSlimBuilder(WebApplicationOptions)

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

CreateSlimBuilder(String[])

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

CreateSlimBuilder()

來源:
WebApplication.cs

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

public static Microsoft.AspNetCore.Builder.WebApplicationBuilder CreateSlimBuilder ();
static member CreateSlimBuilder : unit -> Microsoft.AspNetCore.Builder.WebApplicationBuilder
Public Shared Function CreateSlimBuilder () As WebApplicationBuilder

傳回

WebApplicationBuilder

適用於

CreateSlimBuilder(WebApplicationOptions)

來源:
WebApplication.cs

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

public static Microsoft.AspNetCore.Builder.WebApplicationBuilder CreateSlimBuilder (Microsoft.AspNetCore.Builder.WebApplicationOptions options);
static member CreateSlimBuilder : Microsoft.AspNetCore.Builder.WebApplicationOptions -> Microsoft.AspNetCore.Builder.WebApplicationBuilder
Public Shared Function CreateSlimBuilder (options As WebApplicationOptions) As WebApplicationBuilder

參數

傳回

WebApplicationBuilder

適用於

CreateSlimBuilder(String[])

來源:
WebApplication.cs

使用最少的預設值, WebApplicationBuilder 初始化 類別的新實例。

public static Microsoft.AspNetCore.Builder.WebApplicationBuilder CreateSlimBuilder (string[] args);
static member CreateSlimBuilder : string[] -> Microsoft.AspNetCore.Builder.WebApplicationBuilder
Public Shared Function CreateSlimBuilder (args As String()) As WebApplicationBuilder

參數

args
String[]

命令列引數。

傳回

WebApplicationBuilder

適用於