Bewerken

Delen via


HostBuilderContext Class

Definition

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

public class HostBuilderContext
type HostBuilderContext = class
Public Class HostBuilderContext
Inheritance
HostBuilderContext

Constructors

HostBuilderContext(IDictionary<Object,Object>)

Properties

Configuration

The IConfiguration containing the merged configuration of the application and the host.

HostingEnvironment

The IHostingEnvironment initialized by the host.

Properties

A central location for sharing state between components during the host building process.

Extension Methods

GetApplicationPartManager(HostBuilderContext)

Returns the ApplicationPartManager for the provided context.

Applies to