TestServer Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
TestServer(IWebHostBuilder) |
Pro použití s IWebHostBuilder. |
TestServer(IServiceProvider) |
Pro použití s IHostBuilder. |
TestServer(IWebHostBuilder, IFeatureCollection) |
Pro použití s IWebHostBuilder. |
TestServer(IServiceProvider, IFeatureCollection) |
Pro použití s IHostBuilder. |
TestServer(IServiceProvider, IOptions<TestServerOptions>) |
Pro použití s IHostBuilder. |
TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>) |
Pro použití s IHostBuilder. |
TestServer(IWebHostBuilder)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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)
Parametry
- builder
- IWebHostBuilder
Platí pro
TestServer(IServiceProvider)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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)
Parametry
- services
- IServiceProvider
Platí pro
TestServer(IWebHostBuilder, IFeatureCollection)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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)
Parametry
- builder
- IWebHostBuilder
- featureCollection
- IFeatureCollection
Platí pro
TestServer(IServiceProvider, IFeatureCollection)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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)
Parametry
- services
- IServiceProvider
- featureCollection
- IFeatureCollection
Platí pro
TestServer(IServiceProvider, IOptions<TestServerOptions>)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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))
Parametry
- services
- IServiceProvider
- optionsAccessor
- IOptions<TestServerOptions>
Platí pro
TestServer(IServiceProvider, IFeatureCollection, IOptions<TestServerOptions>)
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
- Zdroj:
- TestServer.cs
Pro použití s 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))
Parametry
- services
- IServiceProvider
- featureCollection
- IFeatureCollection
- optionsAccessor
- IOptions<TestServerOptions>