This commit is contained in:
TheXamlGuy
2024-07-17 21:43:58 +01:00
parent efd00ff81a
commit 93c7a43ab4
75 changed files with 231 additions and 183 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ public static class IHostBuilderExtension
sections.Add(section);
}
}
foreach (string section in sections)
{
if (context.Properties.TryGetValue(section, out object? value))
@@ -112,7 +112,7 @@ public static class IHostBuilderExtension
configurations.Add(typeof(TConfiguration));
}
}
}
}
else
{
context.Properties.Add(section, new List<Type> { typeof(TConfiguration) });