HostApplicationBuilderSettings class
Settings for constructing an HostApplicationBuilder.
Constructors
-
HostApplicationBuilderSettings({String? applicationName, List<
String> ? args, ConfigurationManager? configuration, String? configurationRootPath, bool disableDefaults = false, String? environmentName}) - Initializes an instance of the HostApplicationBuilderSettings class.
Properties
- applicationName ↔ String?
-
The application name.
getter/setter pair
-
args
↔ List<
String> ? -
The command line arguments. This is unused if disableDefaults is 'true'.
getter/setter pair
- configuration ↔ ConfigurationManager?
-
Initial configuration sources to be added to the
HostApplicationBuilder.configuration. These sources can influence
the HostApplicationBuilder.environment through the use of 'HostDefaults'
keys. Disposing the built Host disposes the ConfigurationManager.
getter/setter pair
- configurationRootPath ↔ String?
-
The content root path.
getter/setter pair
- disableDefaults ↔ bool
-
If 'false', configures the HostApplicationBuilder instance with
pre-configured defaults. This has a similar effect to calling
HostingHostBuilderExtensions.configureDefaults()
.getter/setter pair - environmentName ↔ String?
-
The environment name.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited