TestServer コンストラクター

定義

オーバーロード

TestServer(IWebHostBuilder)

IWebHostBuilder で使用する場合。

TestServer(IServiceProvider)

IHostBuilder で使用する場合。

TestServer(IWebHostBuilder, IFeatureCollection)

IWebHostBuilder で使用する場合。

TestServer(IServiceProvider, IFeatureCollection)

IHostBuilder で使用する場合。

TestServer(IServiceProvider, IOptions<TestServerOptions>)

IHostBuilder で使用する場合。

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

IHostBuilder で使用する場合。

TestServer(IWebHostBuilder)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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)

パラメーター

builder
IWebHostBuilder

適用対象

TestServer(IServiceProvider)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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)

パラメーター

services
IServiceProvider

適用対象

TestServer(IWebHostBuilder, IFeatureCollection)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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)

パラメーター

builder
IWebHostBuilder
featureCollection
IFeatureCollection

適用対象

TestServer(IServiceProvider, IFeatureCollection)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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)

パラメーター

services
IServiceProvider
featureCollection
IFeatureCollection

適用対象

TestServer(IServiceProvider, IOptions<TestServerOptions>)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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

パラメーター

services
IServiceProvider
optionsAccessor
IOptions<TestServerOptions>

適用対象

TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)

ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs
ソース:
TestServer.cs

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

パラメーター

services
IServiceProvider
featureCollection
IFeatureCollection
optionsAccessor
IOptions<TestServerOptions>

適用対象