WebHostBuilderFactory.CreateFromTypesAssemblyEntryPoint<T> 方法

定义

IWebHostBuilder解析声明的T程序集中定义的 。

public:
generic <typename T>
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ CreateFromTypesAssemblyEntryPoint(cli::array <System::String ^> ^ args);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateFromTypesAssemblyEntryPoint<T> (string[] args);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder? CreateFromTypesAssemblyEntryPoint<T> (string[] args);
static member CreateFromTypesAssemblyEntryPoint : string[] -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Shared Function CreateFromTypesAssemblyEntryPoint(Of T) (args As String()) As IWebHostBuilder

类型参数

T

目标程序集中包含的类型

参数

args
String[]

创建 IWebHostBuilder 实例时要使用的参数。

返回

IWebHostBuilder从程序集检索的实例。

适用于