WebApplication.CreateEmptyBuilder(WebApplicationOptions) 方法

定义

初始化 没有默认值的 WebApplicationBuilder 类的新实例。

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

参数

返回

WebApplicationBuilder

适用于