Idioma

TestServer Construtores

Definição

Sobrecargas

Nome Description
TestServer(IWebHostBuilder)

Para uso com IWebHostBuilder.

TestServer(IServiceProvider)

Para uso com IHostBuilder.

TestServer(IWebHostBuilder, IFeatureCollection)

Para uso com IWebHostBuilder.

TestServer(IServiceProvider, IFeatureCollection)

Para uso com IHostBuilder.

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Para uso com IHostBuilder.

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Para uso com IHostBuilder.

TestServer(IWebHostBuilder)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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)

Parâmetros

builder
IWebHostBuilder

Aplica-se a

TestServer(IServiceProvider)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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)

Parâmetros

services
IServiceProvider

Aplica-se a

TestServer(IWebHostBuilder, IFeatureCollection)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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)

Parâmetros

builder
IWebHostBuilder
featureCollection
IFeatureCollection

Aplica-se a

TestServer(IServiceProvider, IFeatureCollection)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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)

Parâmetros

services
IServiceProvider
featureCollection
IFeatureCollection

Aplica-se a

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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))

Parâmetros

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

Aplica-se a

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs
Origem:
TestServer.cs

Para uso com 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))

Parâmetros

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

Aplica-se a