TestServer Oluşturucular

Tanım

Aşırı Yüklemeler

TestServer(IWebHostBuilder)

IWebHostBuilder ile kullanmak için.

TestServer(IServiceProvider)

IHostBuilder ile kullanmak için.

TestServer(IWebHostBuilder, IFeatureCollection)

IWebHostBuilder ile kullanmak için.

TestServer(IServiceProvider, IFeatureCollection)

IHostBuilder ile kullanmak için.

TestServer(IServiceProvider, IOptions<TestServerOptions>)

IHostBuilder ile kullanmak için.

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

IHostBuilder ile kullanmak için.

TestServer(IWebHostBuilder)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IWebHostBuilder ile kullanmak için.

public:
 TestServer(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder);
public TestServer (Microsoft.AspNetCore.Hosting.IWebHostBuilder builder);
new Microsoft.AspNetCore.TestHost.TestServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (builder As IWebHostBuilder)

Parametreler

builder
IWebHostBuilder

Şunlara uygulanır

TestServer(IServiceProvider)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IHostBuilder ile kullanmak için.

public:
 TestServer(IServiceProvider ^ services);
public TestServer (IServiceProvider services);
new Microsoft.AspNetCore.TestHost.TestServer : IServiceProvider -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (services As IServiceProvider)

Parametreler

services
IServiceProvider

Şunlara uygulanır

TestServer(IWebHostBuilder, IFeatureCollection)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IWebHostBuilder ile kullanmak için.

public:
 TestServer(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ builder, Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ featureCollection);
public TestServer (Microsoft.AspNetCore.Hosting.IWebHostBuilder builder, Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection);
new Microsoft.AspNetCore.TestHost.TestServer : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (builder As IWebHostBuilder, featureCollection As IFeatureCollection)

Parametreler

builder
IWebHostBuilder
featureCollection
IFeatureCollection

Şunlara uygulanır

TestServer(IServiceProvider, IFeatureCollection)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IHostBuilder ile kullanmak için.

public:
 TestServer(IServiceProvider ^ services, Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ featureCollection);
public TestServer (IServiceProvider services, Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection);
new Microsoft.AspNetCore.TestHost.TestServer : IServiceProvider * Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (services As IServiceProvider, featureCollection As IFeatureCollection)

Parametreler

services
IServiceProvider
featureCollection
IFeatureCollection

Şunlara uygulanır

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IHostBuilder ile kullanmak için.

public TestServer (IServiceProvider services, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.TestHost.TestServerOptions> optionsAccessor);
new Microsoft.AspNetCore.TestHost.TestServer : IServiceProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.TestHost.TestServerOptions> -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (services As IServiceProvider, optionsAccessor As IOptions(Of TestServerOptions))

Parametreler

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

Şunlara uygulanır

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs
Kaynak:
TestServer.cs

IHostBuilder ile kullanmak için.

public TestServer (IServiceProvider services, Microsoft.AspNetCore.Http.Features.IFeatureCollection featureCollection, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.TestHost.TestServerOptions> optionsAccessor);
new Microsoft.AspNetCore.TestHost.TestServer : IServiceProvider * Microsoft.AspNetCore.Http.Features.IFeatureCollection * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.TestHost.TestServerOptions> -> Microsoft.AspNetCore.TestHost.TestServer
Public Sub New (services As IServiceProvider, featureCollection As IFeatureCollection, optionsAccessor As IOptions(Of TestServerOptions))

Parametreler

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

Şunlara uygulanır