共用方式為


Host Class

Definition

Provides convenience methods for creating instances of IHostBuilder with pre-configured defaults.

public ref class Host abstract sealed
public static class Host
type Host = class
Public Class Host
Inheritance
Host

Methods

CreateApplicationBuilder()

Initializes a new instance of the HostApplicationBuilder class with pre-configured defaults.

CreateApplicationBuilder(HostApplicationBuilderSettings)

Initializes a new instance of the HostApplicationBuilder class with preconfigured defaults.

CreateApplicationBuilder(String[])

Initializes a new instance of the HostApplicationBuilder class with pre-configured defaults.

CreateDefaultBuilder()

Initializes a new instance of the HostBuilder class with pre-configured defaults.

CreateDefaultBuilder(String[])

Initializes a new instance of the HostBuilder class with pre-configured defaults.

CreateEmptyApplicationBuilder(HostApplicationBuilderSettings)

Initializes a new instance of the HostApplicationBuilder class with no pre-configured defaults.

Applies to