HostApplicationBuilderSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för