using clauses cleanup
This commit is contained in:
parent
1868ed86e5
commit
7f03dd7272
292 changed files with 91 additions and 685 deletions
|
|
@ -1,6 +1,5 @@
|
|||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using cli;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
internal class Program
|
||||
|
|
@ -16,7 +15,7 @@ internal class Program
|
|||
.AddJsonFile("appsettings-cli.json", optional: false, reloadOnChange: false)
|
||||
.AddJsonFile($"appsettings-cli.{builder.Environment.EnvironmentName}.json", optional: true, reloadOnChange: false)
|
||||
.AddEnvironmentVariables();
|
||||
|
||||
|
||||
AppHost = builder.Build();
|
||||
AppConfiguration = builder.Configuration;
|
||||
AppHost.Start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue