HostBuilderContext(IDictionary<Object,Object>) Constructor

Definition

Initializes a new instance of HostBuilderContext.

C#
public HostBuilderContext(System.Collections.Generic.IDictionary<object,object> properties);

Parameters

properties
IDictionary<Object,Object>

A non-null IDictionary<TKey,TValue> for sharing state between components during the host building process.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)