Use file scoped namepace
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
using GerstITS.Logging.Serilog;
|
||||
using GerstITS.Web.Api.Hosting;
|
||||
|
||||
namespace GerstITS.Examples.Api
|
||||
namespace GerstITS.Examples.Api;
|
||||
|
||||
public class Program : ProgramBase<Program>
|
||||
{
|
||||
public class Program : ProgramBase<Program>
|
||||
#region Methods
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
#region Methods
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
BootstrapLogContext.Execute<Program>(_ => Run(args));
|
||||
}
|
||||
|
||||
protected override void ConfigureWebHost(IWebHostBuilder webHostBuilder)
|
||||
{
|
||||
webHostBuilder.UseLogging()
|
||||
.UseStartup<Startup>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
BootstrapLogContext.Execute<Program>(_ => Run(args));
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ConfigureWebHost(IWebHostBuilder webHostBuilder)
|
||||
{
|
||||
webHostBuilder.UseLogging()
|
||||
.UseStartup<Startup>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user