File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
aspnetcore/fundamentals/host/generic-host/samples-snapshot/3.x Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ public static async Task Main(string[] args)
15
15
}
16
16
17
17
public static IHostBuilder CreateHostBuilder ( string [ ] args ) =>
18
- #region snippet_HostConfig
18
+ #region snippet_HostConfig
19
+ // using Microsoft.Extensions.Configuration;
20
+
19
21
Host . CreateDefaultBuilder ( args )
20
22
. ConfigureHostConfiguration ( configHost =>
21
23
{
@@ -24,7 +26,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
24
26
configHost . AddEnvironmentVariables ( prefix : "PREFIX_" ) ;
25
27
configHost . AddCommandLine ( args ) ;
26
28
} ) ;
27
- #endregion
29
+ #endregion
28
30
29
31
public static IHostBuilder CreateHostBuilder2 ( string [ ] args ) =>
30
32
#region snippet_HostOptions
You can’t perform that action at this time.
0 commit comments