Aracılığıyla paylaş


WebHostBuilderExtensions.UseTestServer Yöntem

Tanım

Aşırı Yüklemeler

UseTestServer(IWebHostBuilder)

TestServer Hizmeti etkinleştirir.

UseTestServer(IWebHostBuilder, Action<TestServerOptions>)

TestServer Hizmeti etkinleştirir.

UseTestServer(IWebHostBuilder)

Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs

TestServer Hizmeti etkinleştirir.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseTestServer(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseTestServer (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
static member UseTestServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseTestServer (builder As IWebHostBuilder) As IWebHostBuilder

Parametreler

Döndürülenler

IWebHostBuilder.

Şunlara uygulanır

UseTestServer(IWebHostBuilder, Action<TestServerOptions>)

Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs
Kaynak:
WebHostBuilderExtensions.cs

TestServer Hizmeti etkinleştirir.

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseTestServer (this Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, Action<Microsoft.AspNetCore.TestHost.TestServerOptions> configureOptions);
static member UseTestServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.TestHost.TestServerOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseTestServer (builder As IWebHostBuilder, configureOptions As Action(Of TestServerOptions)) As IWebHostBuilder

Parametreler

configureOptions
Action<TestServerOptions>

Test sunucusu seçeneklerini yapılandırıyor

Döndürülenler

IWebHostBuilder.

Şunlara uygulanır