Bagikan melalui


ServiceFakesWebHostExtensions.UseFakeStartup(IWebHostBuilder) Metode

Definisi

Menambahkan kelas Startup kosong untuk memenuhi pemeriksaan ASP.NET.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseFakeStartup (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
static member UseFakeStartup : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseFakeStartup (builder As IWebHostBuilder) As IWebHostBuilder

Parameter

builder
IWebHostBuilder

Instans IWebHostBuilder .

Mengembalikan

Nilai dari builder.

Berlaku untuk