Commit 7b11171
Update StartupUseWhen.cs (docs) for ILogger to work with .NET Core 3+ (#20078)
* Update StartupUseWhen.cs to work with .NET Core 3+
According to dotnet/extensions#1096, in .NET Core 3+ you can no longer resolve ILogger when activating Startup and need to pass ILogger as parameter in Configure method.
* Update StartupUseWhen.cs
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>1 parent c7ff12c commit 7b11171
1 file changed
Lines changed: 5 additions & 12 deletions
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 3 | + | |
11 | 4 | | |
12 | 5 | | |
13 | 6 | | |
14 | 7 | | |
15 | | - | |
| 8 | + | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
23 | | - | |
| 16 | + | |
24 | 17 | | |
25 | 18 | | |
26 | | - | |
| 19 | + | |
27 | 20 | | |
28 | 21 | | |
29 | 22 | | |
| |||
0 commit comments