次の方法で共有


ConfigureWebHostBuilder.ISupportsStartup.UseStartup メソッド

定義

オーバーロード

ISupportsStartup.UseStartup(Type)
ISupportsStartup.UseStartup<TStartup>(Func<WebHostBuilderContext,TStartup>)

ISupportsStartup.UseStartup(Type)

ソース:
ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.UseStartup (Type startupType);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Type -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Type -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function UseStartup (startupType As Type) As IWebHostBuilder Implements ISupportsStartup.UseStartup

パラメーター

startupType
Type

戻り値

実装

適用対象

ISupportsStartup.UseStartup<TStartup>(Func<WebHostBuilderContext,TStartup>)

ソース:
ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.UseStartup<TStartup> (Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,TStartup> startupFactory);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, 'Startup> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, 'Startup> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function UseStartup(Of TStartup) (startupFactory As Func(Of WebHostBuilderContext, TStartup)) As IWebHostBuilder Implements ISupportsStartup.UseStartup

型パラメーター

TStartup

パラメーター

startupFactory
Func<WebHostBuilderContext,TStartup>

戻り値

実装

適用対象