HostBuilderAdapter class
- Implemented types
- Available Extensions
Constructors
- HostBuilderAdapter(HostApplicationBuilder hostApplicationBuilder)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
→ Map<
Object, Object> -
A central location for sharing state between components during
the host building process.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyChanges(
) → void -
build(
) → Host -
Run the given actions to initialize the host.
This can only be called once.
override
-
configureAppConfiguration(
ConfigureAppConfigurationDelegate configureDelegate) → HostBuilder -
Sets up the configuration for the remainder of the build
process and application. This can be called multiple times and
the results will be additive. The results will be available at
Configuration
for subsequent operations, as well as inservices
.override -
configureContainer<
TContainerBuilder> (ConfigureContainerAdapterDelegate< TContainerBuilder> configureDelegate) → HostBuilder -
Enables configuring the instantiated dependency container.
This can be called multiple times and
the results will be additive.
override
-
configureHostConfiguration(
ConfigureHostConfigurationDelegate configureDelegate) → HostBuilder -
Set up the configuration for the builder itself. This will be used to
initialize the HostEnvironment for use later in the build process.
This can be called multiple times and the results will be additive.
override
-
configureServices(
ConfigureServicesDelegate configureDelegate) → HostBuilder -
Adds services to the container. This can be called multiple
times and the results will be additive.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
useServiceProviderFactory<
TContainerBuilder> ({ServiceProviderFactory< TContainerBuilder> ? implementation, FactoryResolver<TContainerBuilder> ? factory}) → HostBuilder -
Overrides the factory used to create the service provider.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited