Skip to content

Commit fdde84f

Browse files
Fixes compile error in code snippet
Missing override causes the error "Abstract inherited member 'void Microsoft.Azure.Functions.Extensions.DependencyInjection.FunctionsStartup.Configure(IFunctionsHostBuilder)' is not implemented"
1 parent 9e44ca3 commit fdde84f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/azure-functions/functions-dotnet-dependency-injection.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ namespace MyNamespace
306306
.AddJsonFile(Path.Combine(context.ApplicationRootPath, $"appsettings.{context.EnvironmentName}.json"), optional: true, reloadOnChange: false)
307307
.AddEnvironmentVariables();
308308
}
309+
310+
public override void Configure(IFunctionsHostBuilder builder)
311+
{
312+
}
309313
}
310314
}
311315
```

0 commit comments

Comments
 (0)