Condividi tramite


TestServer Costruttori

Definizione

Overload

TestServer(IWebHostBuilder)

Per l'uso con IWebHostBuilder.

TestServer(IServiceProvider)

Per l'uso con IHostBuilder.

TestServer(IWebHostBuilder, IFeatureCollection)

Per l'uso con IWebHostBuilder.

TestServer(IServiceProvider, IFeatureCollection)

Per l'uso con IHostBuilder.

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Per l'uso con IHostBuilder.

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Per l'uso con IHostBuilder.

TestServer(IWebHostBuilder)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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)

Parametri

builder
IWebHostBuilder

Si applica a

TestServer(IServiceProvider)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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)

Parametri

services
IServiceProvider

Si applica a

TestServer(IWebHostBuilder, IFeatureCollection)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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)

Parametri

builder
IWebHostBuilder
featureCollection
IFeatureCollection

Si applica a

TestServer(IServiceProvider, IFeatureCollection)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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)

Parametri

services
IServiceProvider
featureCollection
IFeatureCollection

Si applica a

TestServer(IServiceProvider, IOptions<TestServerOptions>)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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))

Parametri

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

Si applica a

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs
Origine:
TestServer.cs

Per l'uso con 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))

Parametri

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

Si applica a