WebHostBuilderFactory.CreateFromTypesAssemblyEntryPoint<T> Method

Definition

Resolves an IWebHostBuilder defined in an assembly where T is declared.

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

Type Parameters

T

Type contained in the target assembly

Parameters

args
String[]

The arguments to use when creating the IWebHostBuilder instance.

Returns

An IWebHostBuilder instance retrieved from the assembly.

Applies to