HostApplicationBuilderSettings Class

Definition

Contains the settings for constructing an HostApplicationBuilder.

public ref class HostApplicationBuilderSettings sealed
public sealed class HostApplicationBuilderSettings
type HostApplicationBuilderSettings = class
Public NotInheritable Class HostApplicationBuilderSettings
Inheritance
HostApplicationBuilderSettings

Constructors

HostApplicationBuilderSettings()

Initializes an instance of the HostApplicationBuilderSettings class.

Properties

ApplicationName

Gets or sets the application name.

Args

Gets or sets the command-line arguments. The arguments aren't used if DisableDefaults is true.

Configuration

Gets or sets the initial configuration sources to be added to the Configuration.

ContentRootPath

Gets or sets the content root path.

DisableDefaults

Gets or sets a value that specifies whether preconfigured default settings should be used to configure the HostApplicationBuilder instance.

EnvironmentName

Gets or sets the environment name.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to