Sdílet prostřednictvím


ConfigureHostBuilder Třída

Definice

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

public sealed class ConfigureHostBuilder : Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsConfigureWebHost, Microsoft.Extensions.Hosting.IHostBuilder
type ConfigureHostBuilder = class
    interface IHostBuilder
    interface ISupportsConfigureWebHost
Public NotInheritable Class ConfigureHostBuilder
Implements IHostBuilder, ISupportsConfigureWebHost
Dědičnost
ConfigureHostBuilder
Implementuje

Vlastnosti

Properties

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

Metody

ConfigureAppConfiguration(Action<HostBuilderContext,IConfigurationBuilder>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

ConfigureContainer<TContainerBuilder>(Action<HostBuilderContext,TContainerBuilder>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

ConfigureHostConfiguration(Action<IConfigurationBuilder>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

ConfigureServices(Action<HostBuilderContext,IServiceCollection>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

UseServiceProviderFactory<TContainerBuilder>(Func<HostBuilderContext,IServiceProviderFactory<TContainerBuilder>>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

UseServiceProviderFactory<TContainerBuilder>(IServiceProviderFactory<TContainerBuilder>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

Explicitní implementace rozhraní

IHostBuilder.Build()

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

ISupportsConfigureWebHost.ConfigureWebHost(Action<IWebHostBuilder>, Action<WebHostBuilderOptions>)

A non-buildable IHostBuilder pro WebApplicationBuilder. Použijte Build() k sestavení .WebApplicationBuilder

Platí pro