WebHostBuilderExtensions.UseTestServer Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- builder
- IWebHostBuilder
Döndürülenler
Ş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
- builder
- IWebHostBuilder
- configureOptions
- Action<TestServerOptions>
Test sunucusu seçeneklerini yapılandırıyor