Sprache

TestServer Konstruktoren

Definition

Überlädt

Name Beschreibung
TestServer(IWebHostBuilder)

Zur Verwendung mit IWebHostBuilder.

TestServer(IServiceProvider)

Zur Verwendung mit IHostBuilder.

TestServer(IWebHostBuilder, IFeatureCollection)

Zur Verwendung mit IWebHostBuilder.

TestServer(IServiceProvider, IFeatureCollection)

Zur Verwendung mit IHostBuilder.

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Zur Verwendung mit IHostBuilder.

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Zur Verwendung mit IHostBuilder.

TestServer(IWebHostBuilder)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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)

Parameter

builder
IWebHostBuilder

Gilt für:

TestServer(IServiceProvider)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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)

Parameter

services
IServiceProvider

Gilt für:

TestServer(IWebHostBuilder, IFeatureCollection)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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)

Parameter

builder
IWebHostBuilder
featureCollection
IFeatureCollection

Gilt für:

TestServer(IServiceProvider, IFeatureCollection)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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)

Parameter

services
IServiceProvider
featureCollection
IFeatureCollection

Gilt für:

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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))

Parameter

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

Gilt für:

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs
Quelle:
TestServer.cs

Zur Verwendung mit 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))

Parameter

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

Gilt für: