WebHostBuilderFactory.CreateFromTypesAssemblyEntryPoint<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for