Udostępnij za pośrednictwem


TestServer Konstruktory

Definicja

Przeciążenia

TestServer(IWebHostBuilder)

Do użycia z IWebHostBuilder.

TestServer(IServiceProvider)

Do użycia z IHostBuilder.

TestServer(IWebHostBuilder, IFeatureCollection)

Do użycia z IWebHostBuilder.

TestServer(IServiceProvider, IFeatureCollection)

Do użycia z IHostBuilder.

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Do użycia z IHostBuilder.

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Do użycia z IHostBuilder.

TestServer(IWebHostBuilder)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IWebHostBuilder.

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)

Parametry

builder
IWebHostBuilder

Dotyczy

TestServer(IServiceProvider)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IHostBuilder.

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

Parametry

services
IServiceProvider

Dotyczy

TestServer(IWebHostBuilder, IFeatureCollection)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IWebHostBuilder.

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)

Parametry

builder
IWebHostBuilder
featureCollection
IFeatureCollection

Dotyczy

TestServer(IServiceProvider, IFeatureCollection)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IHostBuilder.

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)

Parametry

services
IServiceProvider
featureCollection
IFeatureCollection

Dotyczy

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IHostBuilder.

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))

Parametry

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

Dotyczy

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs
Źródło:
TestServer.cs

Do użycia z IHostBuilder.

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))

Parametry

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

Dotyczy