We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9f187 commit 7c10acaCopy full SHA for 7c10aca
src/WebJobs.Script.WebHost/App_Start/AutofacBootstrap.cs
@@ -11,7 +11,7 @@ public static class AutofacBootstrap
11
{
12
internal static void Initialize(ScriptSettingsManager settingsManager, ContainerBuilder builder, WebHostSettings settings)
13
14
- builder.RegisterType<ScriptSettingsManager>().SingleInstance();
+ builder.RegisterInstance(settingsManager);
15
16
// register the resolver so that it is disposed when the container
17
// is disposed
0 commit comments