Udostępnij za pośrednictwem


WebHostBuilderFactory.CreateFromAssemblyEntryPoint(Assembly, String[]) Metoda

Definicja

Rozwiązuje element IWebHostBuilder zdefiniowany w punkcie wejścia zestawu.

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

Parametry

assembly
Assembly

Zestaw do wyszukania elementu IWebHostBuilder in.

args
String[]

Argumenty do użycia podczas tworzenia IWebHostBuilder wystąpienia.

Zwraca

Wystąpienie IWebHostBuilder pobrane z zestawu w programie assembly.

Dotyczy