Partilhar via


WebHostBuilderFactory.CreateFromAssemblyEntryPoint(Assembly, String[]) Método

Definição

Resolve um IWebHostBuilder definido no ponto de entrada de um assembly.

public:
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ CreateFromAssemblyEntryPoint(System::Reflection::Assembly ^ assembly, cli::array <System::String ^> ^ args);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder CreateFromAssemblyEntryPoint (System.Reflection.Assembly assembly, string[] args);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder? CreateFromAssemblyEntryPoint (System.Reflection.Assembly assembly, string[] args);
static member CreateFromAssemblyEntryPoint : System.Reflection.Assembly * string[] -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Shared Function CreateFromAssemblyEntryPoint (assembly As Assembly, args As String()) As IWebHostBuilder

Parâmetros

assembly
Assembly

O assembly a ser buscado por um IWebHostBuilder no.

args
String[]

Os argumentos a serem usados ao criar a IWebHostBuilder instância.

Retornos

Uma IWebHostBuilder instância recuperada do assembly em assembly.

Aplica-se a