HostBuilderContext class

Context containing the common services on the Host. Some properties may be null until set by the Host.

Constructors

HostBuilderContext(Map<Object, Object> properties)

Properties

configuration Configuration?
The Configuration containing the merged configuration of the application and the Host.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hostingEnvironment HostEnvironment?
The HostEnvironment initialized by the Host.
getter/setter pair
properties Map<Object, Object>
A central location for sharing state between components during the host building process.
no setter
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