TestServer 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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>)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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>)
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- TestServer.cs
- Source:
- 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>