Compartir a través de


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

Definición

Resuelve un IWebHostBuilder objeto definido en el punto de entrada de un ensamblado.

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

Ensamblado en el que se va a buscar un IWebHostBuilder elemento.

args
String[]

Argumentos que se van a usar al crear la IWebHostBuilder instancia.

Devoluciones

Instancia IWebHostBuilder recuperada del ensamblado en assembly.

Se aplica a