forked from FarmMaps/FarmMapsApiClient
23 lines
657 B
C#
23 lines
657 B
C#
|
using System.Threading.Tasks;
|
|||
|
using FarmmapsApi;
|
|||
|
using Microsoft.Extensions.DependencyInjection;
|
|||
|
using Microsoft.Extensions.Logging;
|
|||
|
|
|||
|
namespace FarmmapsVRApoten
|
|||
|
{
|
|||
|
class Program : FarmmapsProgram<PotenApplication>
|
|||
|
{
|
|||
|
private static async Task Main(string[] args)
|
|||
|
{
|
|||
|
await new Program().Start(args);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Configure(IServiceCollection serviceCollection)
|
|||
|
{
|
|||
|
serviceCollection.AddLogging(opts => opts
|
|||
|
.AddConsole()
|
|||
|
.AddFilter("System.Net.Http", LogLevel.Warning))
|
|||
|
.AddTransient<PotenService>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|