HostBuilderContext HostBuilderContext HostBuilderContext Class

Definition

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

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

Constructors

HostBuilderContext(IDictionary<Object,Object>) HostBuilderContext(IDictionary<Object,Object>) HostBuilderContext(IDictionary<Object,Object>)

Properties

Configuration Configuration Configuration

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

HostingEnvironment HostingEnvironment HostingEnvironment

The IHostEnvironment initialized by the IHost.

Properties Properties Properties

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

Applies to