HostBuilder.Properties
and HostBuilderContext.Properties
should be dictionaries not arrays
#1470
Labels
HostBuilder.Properties
and HostBuilderContext.Properties
should be dictionaries not arrays
#1470
Library/API/IoT binding
nanoFramework.Hosting
Visual Studio version
No response
.NET nanoFramework extension version
No response
Target name(s)
No response
Firmware version
No response
Device capabilities
No response
Description
HostBuilder.Properties
andHostBuilderContext.Properties
are currently arrays. This makes them challenging to work with as the values need to be set at a single time and the order of the items must be known..NET full implements these as dictionaries which makes more sense (https://github.com/dotnet/runtime/blob/69280cd085ca65e8cecee4d94888784f37271386/src/libraries/Microsoft.Extensions.Hosting/src/HostBuilder.cs#L52).
How to reproduce
No response
Expected behaviour
No response
Screenshots
No response
Sample project or code
No response
Aditional information
No response
The text was updated successfully, but these errors were encountered: